ARB
Macros | Functions
aisc_inline.h File Reference
#include <string.h>
#include <stdlib.h>
Include dependency graph for aisc_inline.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define EOSTR   0
 
#define BEG_STR1   '('
 
#define BEG_STR2   '~'
 
#define END_STR1   '~'
 
#define END_STR2   ')'
 

Functions

CONSTEXPR_INLINE bool is_SPACE (char c)
 
CONSTEXPR_INLINE bool is_SEP (char c)
 
CONSTEXPR_INLINE bool is_LF (char c)
 
CONSTEXPR_INLINE bool is_EOS (char c)
 
CONSTEXPR_INLINE bool is_SPACE_LF (char c)
 
CONSTEXPR_INLINE bool is_SPACE_LF_EOS (char c)
 
CONSTEXPR_INLINE bool is_SPACE_SEP_LF_EOS (char c)
 
CONSTEXPR_INLINE bool is_LF_EOS (char c)
 
CONSTEXPR_INLINE bool is_SEP_LF_EOS (char c)
 
void SKIP_SPACE_LF (const char *&var)
 
void SKIP_SPACE_LF (char *&var)
 
void SKIP_SPACE_LF_BACKWARD (const char *&var, const char *strStart)
 
charstrduplen (const char *s, int len)
 
charcopy_string_part (const char *first, const char *last)
 

Macro Definition Documentation

#define EOSTR   0

Definition at line 15 of file aisc_inline.h.

Referenced by is_EOS(), Parser::parse_program(), and Parser::parseTokenListBlock().

#define BEG_STR1   '('

Definition at line 16 of file aisc_inline.h.

#define BEG_STR2   '~'

Definition at line 17 of file aisc_inline.h.

#define END_STR1   '~'

Definition at line 18 of file aisc_inline.h.

#define END_STR2   ')'

Definition at line 19 of file aisc_inline.h.

Function Documentation

CONSTEXPR_INLINE bool is_SPACE ( char  c)

Definition at line 21 of file aisc_inline.h.

Referenced by is_SPACE_LF().

CONSTEXPR_INLINE bool is_SEP ( char  c)

Definition at line 22 of file aisc_inline.h.

Referenced by is_SEP_LF_EOS(), and is_SPACE_SEP_LF_EOS().

CONSTEXPR_INLINE bool is_LF ( char  c)

Definition at line 23 of file aisc_inline.h.

Referenced by is_LF_EOS(), and is_SPACE_LF().

CONSTEXPR_INLINE bool is_EOS ( char  c)

Definition at line 24 of file aisc_inline.h.

References EOSTR.

Referenced by is_LF_EOS(), and is_SPACE_LF_EOS().

CONSTEXPR_INLINE bool is_SPACE_LF ( char  c)

Definition at line 26 of file aisc_inline.h.

References is_LF(), and is_SPACE().

Referenced by is_SPACE_LF_EOS(), SKIP_SPACE_LF(), and SKIP_SPACE_LF_BACKWARD().

CONSTEXPR_INLINE bool is_SPACE_LF_EOS ( char  c)

Definition at line 27 of file aisc_inline.h.

References is_EOS(), and is_SPACE_LF().

Referenced by is_SPACE_SEP_LF_EOS().

CONSTEXPR_INLINE bool is_SPACE_SEP_LF_EOS ( char  c)

Definition at line 28 of file aisc_inline.h.

References is_SEP(), and is_SPACE_LF_EOS().

CONSTEXPR_INLINE bool is_LF_EOS ( char  c)

Definition at line 29 of file aisc_inline.h.

References is_EOS(), and is_LF().

Referenced by is_SEP_LF_EOS().

CONSTEXPR_INLINE bool is_SEP_LF_EOS ( char  c)

Definition at line 30 of file aisc_inline.h.

References is_LF_EOS(), and is_SEP().

void SKIP_SPACE_LF ( const char *&  var)
inline

Definition at line 32 of file aisc_inline.h.

References is_SPACE_LF().

Referenced by FINAL_TYPE< SEQTYPE >::call(), get_var_string(), and Code::set_command().

void SKIP_SPACE_LF ( char *&  var)
inline

Definition at line 33 of file aisc_inline.h.

References is_SPACE_LF().

void SKIP_SPACE_LF_BACKWARD ( const char *&  var,
const char strStart 
)
inline

Definition at line 35 of file aisc_inline.h.

References aisc_assert, and is_SPACE_LF().

char* strduplen ( const char s,
int  len 
)
inline

Definition at line 42 of file aisc_inline.h.

Referenced by copy_string_part().

char* copy_string_part ( const char first,
const char last 
)
inline

Definition at line 49 of file aisc_inline.h.

References strduplen().

Referenced by Data::find_qualified_token(), get_ident(), and Parser::parse_program().