WSF
Scanner.h File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <limits.h>
Include dependency graph for wizard/lib/source/Us/Scanner.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  COCO_Str
class  Us::Token
class  Us::Buffer
class  Us::UTF8Buffer
class  Us::StartStates
class  Us::KeywordMap
class  Us::Scanner

Namespaces

namespace  Us

Macros

#define COCO_USE_WCHAR_T   0
#define coco_sprintf   sprintf
#define coco_snprintf   snprintf
#define COCO_STR(X)
#define coco_printf   printf
#define COCO_WCHAR_MAX   65535
#define COCO_MIN_BUFFER_LENGTH   1024
#define COCO_MAX_BUFFER_LENGTH   (64 * COCO_MIN_BUFFER_LENGTH)
#define COCO_HEAP_BLOCK_SIZE   (64 * 1024)
#define COCO_CPP_NAMESPACE_SEPARATOR   COCO_STR(':')
#define COCO_USE_INLINE_BUFFER   1

Typedefs

using cocochar_t = COCO_Str::char_type

Functions

cocochar_tUs::coco_string_create (const cocochar_t *value)
cocochar_tUs::coco_string_create (const cocochar_t *value, int startIndex)
cocochar_tUs::coco_string_create (const cocochar_t *value, int startIndex, int length)
cocochar_tUs::coco_string_create_upper (const cocochar_t *data)
cocochar_tUs::coco_string_create_lower (const cocochar_t *data)
cocochar_tUs::coco_string_create_lower (const cocochar_t *data, int startIndex, int dataLen)
cocochar_tUs::coco_string_create_append (const cocochar_t *data1, const cocochar_t *data2)
cocochar_tUs::coco_string_create_append (const cocochar_t *target, const cocochar_t appendix)
void Us::coco_string_delete (cocochar_t *&data)
int Us::coco_string_length (const cocochar_t *data)
bool Us::coco_string_endswith (const cocochar_t *data, const cocochar_t *end)
int Us::coco_string_indexof (const cocochar_t *data, const cocochar_t value)
int Us::coco_string_lastindexof (const cocochar_t *data, const cocochar_t value)
void Us::coco_string_merge (cocochar_t *&target, const cocochar_t *appendix)
bool Us::coco_string_equal (const cocochar_t *data1, const cocochar_t *data2)
int Us::coco_string_compareto (const cocochar_t *data1, const cocochar_t *data2)
unsigned int Us::coco_string_hash (const cocochar_t *data)
char * Us::coco_string_create_char (const cocochar_t *value)

Macro Definition Documentation

◆ COCO_CPP_NAMESPACE_SEPARATOR

#define COCO_CPP_NAMESPACE_SEPARATOR   COCO_STR(':')

◆ COCO_HEAP_BLOCK_SIZE

#define COCO_HEAP_BLOCK_SIZE   (64 * 1024)

◆ COCO_MAX_BUFFER_LENGTH

#define COCO_MAX_BUFFER_LENGTH   (64 * COCO_MIN_BUFFER_LENGTH)

◆ COCO_MIN_BUFFER_LENGTH

#define COCO_MIN_BUFFER_LENGTH   1024

◆ coco_printf

◆ coco_snprintf

#define coco_snprintf   snprintf

◆ coco_sprintf

#define coco_sprintf   sprintf

Referenced by Us::Errors::SynErr().

◆ COCO_STR

◆ COCO_USE_INLINE_BUFFER

#define COCO_USE_INLINE_BUFFER   1

◆ COCO_USE_WCHAR_T

#define COCO_USE_WCHAR_T   0

◆ COCO_WCHAR_MAX

#define COCO_WCHAR_MAX   65535

Typedef Documentation

◆ cocochar_t

Copyrights Multiple, All Rights Reserved