Xmipp  v3.23.11-Nereus
Classes | Enumerations
Arguments parser
Collaboration diagram for Arguments parser:

Classes

class  ArgToken
 
class  ArgLexer
 
class  ASTNode
 
class  ArgumentDef
 
class  ParamDef
 
class  SectionDef
 
class  ProgramDef
 

Enumerations

enum  ArgTokenType {
  TOK_ID, TOK_OPT, TOK_INT, TOK_FLOAT,
  TOK_STR, TOK_MINUS, TOK_PLUS, TOK_EQ,
  TOK_COMM, TOK_LAN, TOK_RAN, TOK_LBRA,
  TOK_RBRA, TOK_SEMI, TOK_COMMA, TOK_ETC,
  TOK_END, TOK_WHERE, TOK_ALIAS, TOK_OR,
  TOK_REQUIRES, TOK_SECTION
}
 

Detailed Description

Enumeration Type Documentation

◆ ArgTokenType

Type of tokens for lexical analysis

Enumerator
TOK_ID 
TOK_OPT 
TOK_INT 
TOK_FLOAT 
TOK_STR 
TOK_MINUS 
TOK_PLUS 
TOK_EQ 
TOK_COMM 
TOK_LAN 
TOK_RAN 
TOK_LBRA 
TOK_RBRA 
TOK_SEMI 
TOK_COMMA 
TOK_ETC 
TOK_END 
TOK_WHERE 

Reserved words.

TOK_ALIAS 
TOK_OR 
TOK_REQUIRES 
TOK_SECTION 

Definition at line 43 of file argsparser.h.

43  {
44  TOK_ID, //identifier
45  TOK_OPT, // -ID or --ID
46  TOK_INT, //integer number
47  TOK_FLOAT, //float number
48  TOK_STR, //string value
49  TOK_MINUS, // - or --
50  TOK_PLUS, // +
51  TOK_EQ, // =
52  TOK_COMM, // Comment, from : until end of line
53  TOK_LAN, // <
54  TOK_RAN, // >
55  TOK_LBRA, // [
56  TOK_RBRA, // ]
57  TOK_SEMI, // semicolor ;
58  TOK_COMMA, // ,
59  TOK_ETC, // ...
60  TOK_END, // end of input
62  TOK_WHERE, // 'WHERE' keyword
63  TOK_ALIAS, // 'ALIAS' keyword
64  TOK_OR, // 'OR' keyword
65  TOK_REQUIRES,// 'REQUIRES' keyword
66  TOK_SECTION // section defined by == Section ==
67 } ArgTokenType;
Reserved words.
Definition: argsparser.h:62
ArgTokenType
Definition: argsparser.h:43