|
CatapultServer
v0.5.0.1 (Elephant)
|
Functions | |
| def | t_COMMENT_SINGLELINE (tok) |
| def | t_COMMENT_MULTILINE (tok) |
| def | t_NEWLINE (tok) |
| def | t_error (err) |
Variables | |
| list | tokens |
| string | t_ignore = ' \t\r.?@\f' |
| string | t_NUMBER = r'[0-9][0-9XxA-Fa-f]*' |
| string | t_FLOAT_NUMBER = r'[-+]?[0-9]*\.[0-9]+([eE][-+]?[0-9]+)?' |
| string | t_NAME = r'[A-Za-z_~][A-Za-z0-9_]*' |
| string | t_OPEN_PAREN = r'\(' |
| string | t_CLOSE_PAREN = r'\)' |
| string | t_OPEN_BRACKET = r'<' |
| string | t_CLOSE_BRACKET = r'>' |
| string | t_OPEN_BRACE = r'{' |
| string | t_CLOSE_BRACE = r'}' |
| string | t_OPEN_SQUARE_BRACKET = r'\[' |
| string | t_CLOSE_SQUARE_BRACKET = r'\]' |
| string | t_SEMI_COLON = r';' |
| string | t_COLON = r':' |
| string | t_COMMA = r',' |
| string | t_BACKSLASH = r'\\' |
| string | t_PIPE = r'\|' |
| string | t_PERCENT = r'%' |
| string | t_CARET = r'\^' |
| string | t_EXCLAMATION = r'!' |
| string | t_PRECOMP_MACRO = r'\#(.*?\\\n|.*)*' |
| string | t_ASTERISK = r'\*' |
| string | t_MINUS = r'\-' |
| string | t_PLUS = r'\+' |
| string | t_DIVIDE = r'/(?!/)' |
| string | t_AMPERSTAND = r'&' |
| string | t_EQUALS = r'=' |
| string | t_CHAR_LITERAL = '\'.\'' |
| string | t_SQUOTE = r'\'' |
| string | t_STRING_LITERAL = r'"([^"\\]|\\.)*"' |
| def cppLexer.t_COMMENT_MULTILINE | ( | tok | ) |
| def cppLexer.t_COMMENT_SINGLELINE | ( | tok | ) |
| def cppLexer.t_error | ( | err | ) |
| def cppLexer.t_NEWLINE | ( | tok | ) |
| string cppLexer.t_AMPERSTAND = r'&' |
| string cppLexer.t_ASTERISK = r'\*' |
| string cppLexer.t_BACKSLASH = r'\\' |
| string cppLexer.t_CARET = r'\^' |
| string cppLexer.t_CHAR_LITERAL = '\'.\'' |
| string cppLexer.t_CLOSE_BRACE = r'}' |
| string cppLexer.t_CLOSE_BRACKET = r'>' |
| string cppLexer.t_CLOSE_PAREN = r'\)' |
| string cppLexer.t_CLOSE_SQUARE_BRACKET = r'\]' |
| string cppLexer.t_COLON = r':' |
| string cppLexer.t_COMMA = r',' |
| string cppLexer.t_DIVIDE = r'/(?!/)' |
| string cppLexer.t_EQUALS = r'=' |
| string cppLexer.t_EXCLAMATION = r'!' |
| string cppLexer.t_FLOAT_NUMBER = r'[-+]?[0-9]*\.[0-9]+([eE][-+]?[0-9]+)?' |
| string cppLexer.t_ignore = ' \t\r.?@\f' |
| string cppLexer.t_MINUS = r'\-' |
| string cppLexer.t_NAME = r'[A-Za-z_~][A-Za-z0-9_]*' |
| string cppLexer.t_NUMBER = r'[0-9][0-9XxA-Fa-f]*' |
| string cppLexer.t_OPEN_BRACE = r'{' |
| string cppLexer.t_OPEN_BRACKET = r'<' |
| string cppLexer.t_OPEN_PAREN = r'\(' |
| string cppLexer.t_OPEN_SQUARE_BRACKET = r'\[' |
| string cppLexer.t_PERCENT = r'%' |
| string cppLexer.t_PIPE = r'\|' |
| string cppLexer.t_PLUS = r'\+' |
| string cppLexer.t_PRECOMP_MACRO = r'\#(.*?\\\n|.*)*' |
| string cppLexer.t_SEMI_COLON = r';' |
| string cppLexer.t_SQUOTE = r'\'' |
| string cppLexer.t_STRING_LITERAL = r'"([^"\\]|\\.)*"' |
| list cppLexer.tokens |