The StaDyn Programming Language
Source code documentation of StaDyn, a hybrid static and dynamic typing language.
|
Public Member Functions | |
override void | setFilename (string f) |
Update _fileinfo attribute whenever filename changes. More... | |
bool | IsLetterCharacter (string s) |
bool | IsIdentifierCharacter (string s) |
bool | IsCombiningCharacter (string s) |
CSharpPreprocessorHooverLexer (Stream ins) | |
CSharpPreprocessorHooverLexer (TextReader r) | |
CSharpPreprocessorHooverLexer (InputBuffer ib) | |
CSharpPreprocessorHooverLexer (LexerSharedInputState state) | |
override IToken | nextToken () |
void | mSL_COMMENT (bool _createToken) |
void | mNEWLINE (bool _createToken) |
void | mPP_STRING (bool _createToken) |
Public Attributes | |
const int | EOF = 1 |
const int | NULL_TREE_LOOKAHEAD = 3 |
const int | UNICODE_CLASS_Nl = 4 |
const int | UNICODE_CLASS_Lt = 5 |
const int | UNICODE_CLASS_Zs = 6 |
const int | UNICODE_CLASS_Ll = 7 |
const int | UNICODE_CLASS_Lu = 8 |
const int | UNICODE_CLASS_Lo = 9 |
const int | UNICODE_CLASS_Lm = 10 |
const int | UNICODE_CLASS_Mn = 11 |
const int | UNICODE_CLASS_Mc = 12 |
const int | UNICODE_CLASS_Nd = 13 |
const int | UNICODE_CLASS_Pc = 14 |
const int | UNICODE_CLASS_Cf = 15 |
const int | TRUE = 16 |
const int | FALSE = 17 |
const int | DEFAULT = 18 |
const int | PP_DEFINE = 19 |
const int | PP_UNDEFINE = 20 |
const int | PP_COND_IF = 21 |
const int | PP_COND_ELIF = 22 |
const int | PP_COND_ELSE = 23 |
const int | PP_COND_ENDIF = 24 |
const int | PP_LINE = 25 |
const int | PP_ERROR = 26 |
const int | PP_WARNING = 27 |
const int | PP_REGION = 28 |
const int | PP_ENDREGION = 29 |
const int | PP_FILENAME = 30 |
const int | PP_IDENT = 31 |
const int | PP_STRING = 32 |
const int | PP_NUMBER = 33 |
const int | WHITESPACE = 34 |
const int | QUOTE = 35 |
const int | OPEN_PAREN = 36 |
const int | CLOSE_PAREN = 37 |
const int | LOG_NOT = 38 |
const int | LOG_AND = 39 |
const int | LOG_OR = 40 |
const int | EQUAL = 41 |
const int | NOT_EQUAL = 42 |
const int | SL_COMMENT = 43 |
const int | NEWLINE = 44 |
const int | NOT_NEWLINE = 45 |
const int | NON_NEWLINE_WHITESPACE = 46 |
const int | UNICODE_ESCAPE_SEQUENCE = 47 |
const int | DECIMAL_DIGIT = 48 |
const int | HEX_DIGIT = 49 |
const int | LETTER_CHARACTER = 50 |
const int | DECIMAL_DIGIT_CHARACTER = 51 |
const int | CONNECTING_CHARACTER = 52 |
const int | COMBINING_CHARACTER = 53 |
const int | FORMATTING_CHARACTER = 54 |
Static Public Attributes | |
static readonly BitSet | tokenSet_0_ = new BitSet(mk_tokenSet_0_()) |
static readonly BitSet | tokenSet_1_ = new BitSet(mk_tokenSet_1_()) |
static readonly BitSet | tokenSet_2_ = new BitSet(mk_tokenSet_2_()) |
static readonly BitSet | tokenSet_3_ = new BitSet(mk_tokenSet_3_()) |
static readonly BitSet | tokenSet_4_ = new BitSet(mk_tokenSet_4_()) |
static readonly BitSet | tokenSet_5_ = new BitSet(mk_tokenSet_5_()) |
static readonly BitSet | tokenSet_6_ = new BitSet(mk_tokenSet_6_()) |
static readonly BitSet | tokenSet_7_ = new BitSet(mk_tokenSet_7_()) |
static readonly BitSet | tokenSet_8_ = new BitSet(mk_tokenSet_8_()) |
static readonly BitSet | tokenSet_9_ = new BitSet(mk_tokenSet_9_()) |
static readonly BitSet | tokenSet_10_ = new BitSet(mk_tokenSet_10_()) |
Protected Member Functions | |
override IToken | makeToken (int t) |
Ensures all tokens have access to the source file's details. More... | |
void | mNOT_NEWLINE (bool _createToken) |
void | mLOG_NOT (bool _createToken) |
void | mLOG_AND (bool _createToken) |
void | mLOG_OR (bool _createToken) |
void | mEQUAL (bool _createToken) |
void | mNOT_EQUAL (bool _createToken) |
void | mQUOTE (bool _createToken) |
void | mOPEN_PAREN (bool _createToken) |
void | mCLOSE_PAREN (bool _createToken) |
void | mNON_NEWLINE_WHITESPACE (bool _createToken) |
void | mUNICODE_CLASS_Zs (bool _createToken) |
void | mUNICODE_ESCAPE_SEQUENCE (bool _createToken) |
void | mHEX_DIGIT (bool _createToken) |
void | mDECIMAL_DIGIT (bool _createToken) |
void | mLETTER_CHARACTER (bool _createToken) |
void | mUNICODE_CLASS_Lu (bool _createToken) |
void | mUNICODE_CLASS_Ll (bool _createToken) |
void | mUNICODE_CLASS_Lt (bool _createToken) |
void | mUNICODE_CLASS_Lm (bool _createToken) |
void | mUNICODE_CLASS_Lo (bool _createToken) |
void | mUNICODE_CLASS_Nl (bool _createToken) |
void | mDECIMAL_DIGIT_CHARACTER (bool _createToken) |
void | mUNICODE_CLASS_Nd (bool _createToken) |
void | mCONNECTING_CHARACTER (bool _createToken) |
void | mUNICODE_CLASS_Pc (bool _createToken) |
void | mCOMBINING_CHARACTER (bool _createToken) |
void | mUNICODE_CLASS_Mn (bool _createToken) |
void | mUNICODE_CLASS_Mc (bool _createToken) |
void | mFORMATTING_CHARACTER (bool _createToken) |
void | mUNICODE_CLASS_Cf (bool _createToken) |
Properties | |
TokenStreamSelector | Selector [get, set] |
A for switching between this Lexer and the C#-only Lexer. More... | |
Definition at line 38 of file CSharpPreprocessorHooverLexer.cs.
Parser.CSharpPreprocessorHooverLexer.CSharpPreprocessorHooverLexer | ( | Stream | ins | ) |
Definition at line 169 of file CSharpPreprocessorHooverLexer.cs.
Parser.CSharpPreprocessorHooverLexer.CSharpPreprocessorHooverLexer | ( | TextReader | r | ) |
Definition at line 173 of file CSharpPreprocessorHooverLexer.cs.
Parser.CSharpPreprocessorHooverLexer.CSharpPreprocessorHooverLexer | ( | InputBuffer | ib | ) |
Definition at line 177 of file CSharpPreprocessorHooverLexer.cs.
Parser.CSharpPreprocessorHooverLexer.CSharpPreprocessorHooverLexer | ( | LexerSharedInputState | state | ) |
Definition at line 181 of file CSharpPreprocessorHooverLexer.cs.
bool Parser.CSharpPreprocessorHooverLexer.IsCombiningCharacter | ( | string | s | ) |
Definition at line 162 of file CSharpPreprocessorHooverLexer.cs.
bool Parser.CSharpPreprocessorHooverLexer.IsIdentifierCharacter | ( | string | s | ) |
Definition at line 146 of file CSharpPreprocessorHooverLexer.cs.
bool Parser.CSharpPreprocessorHooverLexer.IsLetterCharacter | ( | string | s | ) |
Definition at line 135 of file CSharpPreprocessorHooverLexer.cs.
|
protected |
Ensures all tokens have access to the source file's details.
Definition at line 124 of file CSharpPreprocessorHooverLexer.cs.
|
protected |
Definition at line 529 of file CSharpPreprocessorHooverLexer.cs.
|
protected |
Definition at line 6964 of file CSharpPreprocessorHooverLexer.cs.
|
protected |
Definition at line 6893 of file CSharpPreprocessorHooverLexer.cs.
|
protected |
Definition at line 702 of file CSharpPreprocessorHooverLexer.cs.
|
protected |
Definition at line 6717 of file CSharpPreprocessorHooverLexer.cs.
|
protected |
Definition at line 477 of file CSharpPreprocessorHooverLexer.cs.
|
protected |
Definition at line 7859 of file CSharpPreprocessorHooverLexer.cs.
|
protected |
Definition at line 672 of file CSharpPreprocessorHooverLexer.cs.
|
protected |
Definition at line 718 of file CSharpPreprocessorHooverLexer.cs.
|
protected |
Definition at line 451 of file CSharpPreprocessorHooverLexer.cs.
|
protected |
Definition at line 438 of file CSharpPreprocessorHooverLexer.cs.
|
protected |
Definition at line 464 of file CSharpPreprocessorHooverLexer.cs.
void Parser.CSharpPreprocessorHooverLexer.mNEWLINE | ( | bool | _createToken | ) |
Definition at line 362 of file CSharpPreprocessorHooverLexer.cs.
|
protected |
Definition at line 542 of file CSharpPreprocessorHooverLexer.cs.
|
protected |
Definition at line 490 of file CSharpPreprocessorHooverLexer.cs.
|
protected |
Definition at line 346 of file CSharpPreprocessorHooverLexer.cs.
|
protected |
Definition at line 516 of file CSharpPreprocessorHooverLexer.cs.
void Parser.CSharpPreprocessorHooverLexer.mPP_STRING | ( | bool | _createToken | ) |
Definition at line 407 of file CSharpPreprocessorHooverLexer.cs.
|
protected |
Definition at line 503 of file CSharpPreprocessorHooverLexer.cs.
void Parser.CSharpPreprocessorHooverLexer.mSL_COMMENT | ( | bool | _createToken | ) |
Definition at line 246 of file CSharpPreprocessorHooverLexer.cs.
|
protected |
Definition at line 7873 of file CSharpPreprocessorHooverLexer.cs.
|
protected |
Definition at line 2778 of file CSharpPreprocessorHooverLexer.cs.
|
protected |
Definition at line 4918 of file CSharpPreprocessorHooverLexer.cs.
|
protected |
Definition at line 5045 of file CSharpPreprocessorHooverLexer.cs.
|
protected |
Definition at line 4843 of file CSharpPreprocessorHooverLexer.cs.
|
protected |
Definition at line 755 of file CSharpPreprocessorHooverLexer.cs.
|
protected |
Definition at line 7584 of file CSharpPreprocessorHooverLexer.cs.
|
protected |
Definition at line 6989 of file CSharpPreprocessorHooverLexer.cs.
|
protected |
Definition at line 6731 of file CSharpPreprocessorHooverLexer.cs.
|
protected |
Definition at line 6660 of file CSharpPreprocessorHooverLexer.cs.
|
protected |
Definition at line 6907 of file CSharpPreprocessorHooverLexer.cs.
|
protected |
Definition at line 573 of file CSharpPreprocessorHooverLexer.cs.
|
protected |
Definition at line 632 of file CSharpPreprocessorHooverLexer.cs.
override IToken Parser.CSharpPreprocessorHooverLexer.nextToken | ( | ) |
Definition at line 195 of file CSharpPreprocessorHooverLexer.cs.
override void Parser.CSharpPreprocessorHooverLexer.setFilename | ( | string | f | ) |
Update _fileinfo attribute whenever filename changes.
Definition at line 115 of file CSharpPreprocessorHooverLexer.cs.
const int Parser.CSharpPreprocessorHooverLexer.CLOSE_PAREN = 37 |
Definition at line 75 of file CSharpPreprocessorHooverLexer.cs.
const int Parser.CSharpPreprocessorHooverLexer.COMBINING_CHARACTER = 53 |
Definition at line 91 of file CSharpPreprocessorHooverLexer.cs.
const int Parser.CSharpPreprocessorHooverLexer.CONNECTING_CHARACTER = 52 |
Definition at line 90 of file CSharpPreprocessorHooverLexer.cs.
const int Parser.CSharpPreprocessorHooverLexer.DECIMAL_DIGIT = 48 |
Definition at line 86 of file CSharpPreprocessorHooverLexer.cs.
const int Parser.CSharpPreprocessorHooverLexer.DECIMAL_DIGIT_CHARACTER = 51 |
Definition at line 89 of file CSharpPreprocessorHooverLexer.cs.
const int Parser.CSharpPreprocessorHooverLexer.DEFAULT = 18 |
Definition at line 56 of file CSharpPreprocessorHooverLexer.cs.
const int Parser.CSharpPreprocessorHooverLexer.EOF = 1 |
Definition at line 40 of file CSharpPreprocessorHooverLexer.cs.
const int Parser.CSharpPreprocessorHooverLexer.EQUAL = 41 |
Definition at line 79 of file CSharpPreprocessorHooverLexer.cs.
const int Parser.CSharpPreprocessorHooverLexer.FALSE = 17 |
Definition at line 55 of file CSharpPreprocessorHooverLexer.cs.
const int Parser.CSharpPreprocessorHooverLexer.FORMATTING_CHARACTER = 54 |
Definition at line 92 of file CSharpPreprocessorHooverLexer.cs.
const int Parser.CSharpPreprocessorHooverLexer.HEX_DIGIT = 49 |
Definition at line 87 of file CSharpPreprocessorHooverLexer.cs.
const int Parser.CSharpPreprocessorHooverLexer.LETTER_CHARACTER = 50 |
Definition at line 88 of file CSharpPreprocessorHooverLexer.cs.
const int Parser.CSharpPreprocessorHooverLexer.LOG_AND = 39 |
Definition at line 77 of file CSharpPreprocessorHooverLexer.cs.
const int Parser.CSharpPreprocessorHooverLexer.LOG_NOT = 38 |
Definition at line 76 of file CSharpPreprocessorHooverLexer.cs.
const int Parser.CSharpPreprocessorHooverLexer.LOG_OR = 40 |
Definition at line 78 of file CSharpPreprocessorHooverLexer.cs.
const int Parser.CSharpPreprocessorHooverLexer.NEWLINE = 44 |
Definition at line 82 of file CSharpPreprocessorHooverLexer.cs.
const int Parser.CSharpPreprocessorHooverLexer.NON_NEWLINE_WHITESPACE = 46 |
Definition at line 84 of file CSharpPreprocessorHooverLexer.cs.
const int Parser.CSharpPreprocessorHooverLexer.NOT_EQUAL = 42 |
Definition at line 80 of file CSharpPreprocessorHooverLexer.cs.
const int Parser.CSharpPreprocessorHooverLexer.NOT_NEWLINE = 45 |
Definition at line 83 of file CSharpPreprocessorHooverLexer.cs.
const int Parser.CSharpPreprocessorHooverLexer.NULL_TREE_LOOKAHEAD = 3 |
Definition at line 41 of file CSharpPreprocessorHooverLexer.cs.
const int Parser.CSharpPreprocessorHooverLexer.OPEN_PAREN = 36 |
Definition at line 74 of file CSharpPreprocessorHooverLexer.cs.
const int Parser.CSharpPreprocessorHooverLexer.PP_COND_ELIF = 22 |
Definition at line 60 of file CSharpPreprocessorHooverLexer.cs.
const int Parser.CSharpPreprocessorHooverLexer.PP_COND_ELSE = 23 |
Definition at line 61 of file CSharpPreprocessorHooverLexer.cs.
const int Parser.CSharpPreprocessorHooverLexer.PP_COND_ENDIF = 24 |
Definition at line 62 of file CSharpPreprocessorHooverLexer.cs.
const int Parser.CSharpPreprocessorHooverLexer.PP_COND_IF = 21 |
Definition at line 59 of file CSharpPreprocessorHooverLexer.cs.
const int Parser.CSharpPreprocessorHooverLexer.PP_DEFINE = 19 |
Definition at line 57 of file CSharpPreprocessorHooverLexer.cs.
const int Parser.CSharpPreprocessorHooverLexer.PP_ENDREGION = 29 |
Definition at line 67 of file CSharpPreprocessorHooverLexer.cs.
const int Parser.CSharpPreprocessorHooverLexer.PP_ERROR = 26 |
Definition at line 64 of file CSharpPreprocessorHooverLexer.cs.
const int Parser.CSharpPreprocessorHooverLexer.PP_FILENAME = 30 |
Definition at line 68 of file CSharpPreprocessorHooverLexer.cs.
const int Parser.CSharpPreprocessorHooverLexer.PP_IDENT = 31 |
Definition at line 69 of file CSharpPreprocessorHooverLexer.cs.
const int Parser.CSharpPreprocessorHooverLexer.PP_LINE = 25 |
Definition at line 63 of file CSharpPreprocessorHooverLexer.cs.
const int Parser.CSharpPreprocessorHooverLexer.PP_NUMBER = 33 |
Definition at line 71 of file CSharpPreprocessorHooverLexer.cs.
const int Parser.CSharpPreprocessorHooverLexer.PP_REGION = 28 |
Definition at line 66 of file CSharpPreprocessorHooverLexer.cs.
const int Parser.CSharpPreprocessorHooverLexer.PP_STRING = 32 |
Definition at line 70 of file CSharpPreprocessorHooverLexer.cs.
const int Parser.CSharpPreprocessorHooverLexer.PP_UNDEFINE = 20 |
Definition at line 58 of file CSharpPreprocessorHooverLexer.cs.
const int Parser.CSharpPreprocessorHooverLexer.PP_WARNING = 27 |
Definition at line 65 of file CSharpPreprocessorHooverLexer.cs.
const int Parser.CSharpPreprocessorHooverLexer.QUOTE = 35 |
Definition at line 73 of file CSharpPreprocessorHooverLexer.cs.
const int Parser.CSharpPreprocessorHooverLexer.SL_COMMENT = 43 |
Definition at line 81 of file CSharpPreprocessorHooverLexer.cs.
|
static |
Definition at line 7954 of file CSharpPreprocessorHooverLexer.cs.
|
static |
Definition at line 8361 of file CSharpPreprocessorHooverLexer.cs.
|
static |
Definition at line 7966 of file CSharpPreprocessorHooverLexer.cs.
|
static |
Definition at line 7983 of file CSharpPreprocessorHooverLexer.cs.
|
static |
Definition at line 8024 of file CSharpPreprocessorHooverLexer.cs.
|
static |
Definition at line 8069 of file CSharpPreprocessorHooverLexer.cs.
|
static |
Definition at line 8081 of file CSharpPreprocessorHooverLexer.cs.
|
static |
Definition at line 8115 of file CSharpPreprocessorHooverLexer.cs.
|
static |
Definition at line 8239 of file CSharpPreprocessorHooverLexer.cs.
|
static |
Definition at line 8253 of file CSharpPreprocessorHooverLexer.cs.
|
static |
Definition at line 8324 of file CSharpPreprocessorHooverLexer.cs.
const int Parser.CSharpPreprocessorHooverLexer.TRUE = 16 |
Definition at line 54 of file CSharpPreprocessorHooverLexer.cs.
const int Parser.CSharpPreprocessorHooverLexer.UNICODE_CLASS_Cf = 15 |
Definition at line 53 of file CSharpPreprocessorHooverLexer.cs.
const int Parser.CSharpPreprocessorHooverLexer.UNICODE_CLASS_Ll = 7 |
Definition at line 45 of file CSharpPreprocessorHooverLexer.cs.
const int Parser.CSharpPreprocessorHooverLexer.UNICODE_CLASS_Lm = 10 |
Definition at line 48 of file CSharpPreprocessorHooverLexer.cs.
const int Parser.CSharpPreprocessorHooverLexer.UNICODE_CLASS_Lo = 9 |
Definition at line 47 of file CSharpPreprocessorHooverLexer.cs.
const int Parser.CSharpPreprocessorHooverLexer.UNICODE_CLASS_Lt = 5 |
Definition at line 43 of file CSharpPreprocessorHooverLexer.cs.
const int Parser.CSharpPreprocessorHooverLexer.UNICODE_CLASS_Lu = 8 |
Definition at line 46 of file CSharpPreprocessorHooverLexer.cs.
const int Parser.CSharpPreprocessorHooverLexer.UNICODE_CLASS_Mc = 12 |
Definition at line 50 of file CSharpPreprocessorHooverLexer.cs.
const int Parser.CSharpPreprocessorHooverLexer.UNICODE_CLASS_Mn = 11 |
Definition at line 49 of file CSharpPreprocessorHooverLexer.cs.
const int Parser.CSharpPreprocessorHooverLexer.UNICODE_CLASS_Nd = 13 |
Definition at line 51 of file CSharpPreprocessorHooverLexer.cs.
const int Parser.CSharpPreprocessorHooverLexer.UNICODE_CLASS_Nl = 4 |
Definition at line 42 of file CSharpPreprocessorHooverLexer.cs.
const int Parser.CSharpPreprocessorHooverLexer.UNICODE_CLASS_Pc = 14 |
Definition at line 52 of file CSharpPreprocessorHooverLexer.cs.
const int Parser.CSharpPreprocessorHooverLexer.UNICODE_CLASS_Zs = 6 |
Definition at line 44 of file CSharpPreprocessorHooverLexer.cs.
const int Parser.CSharpPreprocessorHooverLexer.UNICODE_ESCAPE_SEQUENCE = 47 |
Definition at line 85 of file CSharpPreprocessorHooverLexer.cs.
const int Parser.CSharpPreprocessorHooverLexer.WHITESPACE = 34 |
Definition at line 72 of file CSharpPreprocessorHooverLexer.cs.
|
getset |
A for switching between this Lexer and the C#-only Lexer.
Definition at line 105 of file CSharpPreprocessorHooverLexer.cs.