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) |
CSharpPreprocessorLexer (Stream ins) | |
CSharpPreprocessorLexer (TextReader r) | |
CSharpPreprocessorLexer (InputBuffer ib) | |
CSharpPreprocessorLexer (LexerSharedInputState state) | |
override IToken | nextToken () |
void | mPP_IDENT (bool _createToken) |
void | mPP_FILENAME (bool _createToken) |
void | mPP_NUMBER (bool _createToken) |
void | mSL_COMMENT (bool _createToken) |
void | mNEWLINE (bool _createToken) |
void | mWHITESPACE (bool _createToken) |
void | mQUOTE (bool _createToken) |
void | mOPEN_PAREN (bool _createToken) |
void | mCLOSE_PAREN (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) |
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_()) |
static readonly BitSet | tokenSet_11_ = new BitSet(mk_tokenSet_11_()) |
static readonly BitSet | tokenSet_12_ = new BitSet(mk_tokenSet_12_()) |
static readonly BitSet | tokenSet_13_ = new BitSet(mk_tokenSet_13_()) |
static readonly BitSet | tokenSet_14_ = new BitSet(mk_tokenSet_14_()) |
static readonly BitSet | tokenSet_15_ = new BitSet(mk_tokenSet_15_()) |
static readonly BitSet | tokenSet_16_ = new BitSet(mk_tokenSet_16_()) |
static readonly BitSet | tokenSet_17_ = new BitSet(mk_tokenSet_17_()) |
Protected Member Functions | |
override IToken | makeToken (int t) |
Ensures all tokens have access to the source file's details. More... | |
void | mLETTER_CHARACTER (bool _createToken) |
void | mUNICODE_ESCAPE_SEQUENCE (bool _createToken) |
void | mDECIMAL_DIGIT_CHARACTER (bool _createToken) |
void | mCONNECTING_CHARACTER (bool _createToken) |
void | mCOMBINING_CHARACTER (bool _createToken) |
void | mFORMATTING_CHARACTER (bool _createToken) |
void | mDECIMAL_DIGIT (bool _createToken) |
void | mNOT_NEWLINE (bool _createToken) |
void | mNON_NEWLINE_WHITESPACE (bool _createToken) |
void | mUNICODE_CLASS_Zs (bool _createToken) |
void | mHEX_DIGIT (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 | mUNICODE_CLASS_Nd (bool _createToken) |
void | mUNICODE_CLASS_Pc (bool _createToken) |
void | mUNICODE_CLASS_Mn (bool _createToken) |
void | mUNICODE_CLASS_Mc (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 CSharpPreprocessorLexer.cs.
Parser.CSharpPreprocessorLexer.CSharpPreprocessorLexer | ( | Stream | ins | ) |
Definition at line 169 of file CSharpPreprocessorLexer.cs.
Parser.CSharpPreprocessorLexer.CSharpPreprocessorLexer | ( | TextReader | r | ) |
Definition at line 173 of file CSharpPreprocessorLexer.cs.
Parser.CSharpPreprocessorLexer.CSharpPreprocessorLexer | ( | InputBuffer | ib | ) |
Definition at line 177 of file CSharpPreprocessorLexer.cs.
Parser.CSharpPreprocessorLexer.CSharpPreprocessorLexer | ( | LexerSharedInputState | state | ) |
Definition at line 181 of file CSharpPreprocessorLexer.cs.
bool Parser.CSharpPreprocessorLexer.IsCombiningCharacter | ( | string | s | ) |
Definition at line 162 of file CSharpPreprocessorLexer.cs.
bool Parser.CSharpPreprocessorLexer.IsIdentifierCharacter | ( | string | s | ) |
Definition at line 146 of file CSharpPreprocessorLexer.cs.
bool Parser.CSharpPreprocessorLexer.IsLetterCharacter | ( | string | s | ) |
Definition at line 135 of file CSharpPreprocessorLexer.cs.
|
protected |
Ensures all tokens have access to the source file's details.
Definition at line 124 of file CSharpPreprocessorLexer.cs.
void Parser.CSharpPreprocessorLexer.mCLOSE_PAREN | ( | bool | _createToken | ) |
Definition at line 823 of file CSharpPreprocessorLexer.cs.
|
protected |
Definition at line 488 of file CSharpPreprocessorLexer.cs.
|
protected |
Definition at line 474 of file CSharpPreprocessorLexer.cs.
|
protected |
Definition at line 589 of file CSharpPreprocessorLexer.cs.
|
protected |
Definition at line 460 of file CSharpPreprocessorLexer.cs.
void Parser.CSharpPreprocessorLexer.mEQUAL | ( | bool | _createToken | ) |
Definition at line 879 of file CSharpPreprocessorLexer.cs.
|
protected |
Definition at line 513 of file CSharpPreprocessorLexer.cs.
|
protected |
Definition at line 966 of file CSharpPreprocessorLexer.cs.
|
protected |
Definition at line 383 of file CSharpPreprocessorLexer.cs.
void Parser.CSharpPreprocessorLexer.mLOG_AND | ( | bool | _createToken | ) |
Definition at line 851 of file CSharpPreprocessorLexer.cs.
void Parser.CSharpPreprocessorLexer.mLOG_NOT | ( | bool | _createToken | ) |
Definition at line 837 of file CSharpPreprocessorLexer.cs.
void Parser.CSharpPreprocessorLexer.mLOG_OR | ( | bool | _createToken | ) |
Definition at line 865 of file CSharpPreprocessorLexer.cs.
void Parser.CSharpPreprocessorLexer.mNEWLINE | ( | bool | _createToken | ) |
Definition at line 689 of file CSharpPreprocessorLexer.cs.
|
protected |
Definition at line 764 of file CSharpPreprocessorLexer.cs.
void Parser.CSharpPreprocessorLexer.mNOT_EQUAL | ( | bool | _createToken | ) |
Definition at line 893 of file CSharpPreprocessorLexer.cs.
|
protected |
Definition at line 673 of file CSharpPreprocessorLexer.cs.
void Parser.CSharpPreprocessorLexer.mOPEN_PAREN | ( | bool | _createToken | ) |
Definition at line 809 of file CSharpPreprocessorLexer.cs.
void Parser.CSharpPreprocessorLexer.mPP_FILENAME | ( | bool | _createToken | ) |
Definition at line 527 of file CSharpPreprocessorLexer.cs.
void Parser.CSharpPreprocessorLexer.mPP_IDENT | ( | bool | _createToken | ) |
Definition at line 318 of file CSharpPreprocessorLexer.cs.
void Parser.CSharpPreprocessorLexer.mPP_NUMBER | ( | bool | _createToken | ) |
Definition at line 559 of file CSharpPreprocessorLexer.cs.
void Parser.CSharpPreprocessorLexer.mQUOTE | ( | bool | _createToken | ) |
Definition at line 795 of file CSharpPreprocessorLexer.cs.
void Parser.CSharpPreprocessorLexer.mSL_COMMENT | ( | bool | _createToken | ) |
Definition at line 605 of file CSharpPreprocessorLexer.cs.
|
protected |
Definition at line 8047 of file CSharpPreprocessorLexer.cs.
|
protected |
Definition at line 3019 of file CSharpPreprocessorLexer.cs.
|
protected |
Definition at line 5159 of file CSharpPreprocessorLexer.cs.
|
protected |
Definition at line 5286 of file CSharpPreprocessorLexer.cs.
|
protected |
Definition at line 5084 of file CSharpPreprocessorLexer.cs.
|
protected |
Definition at line 996 of file CSharpPreprocessorLexer.cs.
|
protected |
Definition at line 7772 of file CSharpPreprocessorLexer.cs.
|
protected |
Definition at line 7177 of file CSharpPreprocessorLexer.cs.
|
protected |
Definition at line 6958 of file CSharpPreprocessorLexer.cs.
|
protected |
Definition at line 6901 of file CSharpPreprocessorLexer.cs.
|
protected |
Definition at line 7120 of file CSharpPreprocessorLexer.cs.
|
protected |
Definition at line 907 of file CSharpPreprocessorLexer.cs.
|
protected |
Definition at line 420 of file CSharpPreprocessorLexer.cs.
void Parser.CSharpPreprocessorLexer.mWHITESPACE | ( | bool | _createToken | ) |
Definition at line 734 of file CSharpPreprocessorLexer.cs.
override IToken Parser.CSharpPreprocessorLexer.nextToken | ( | ) |
Definition at line 195 of file CSharpPreprocessorLexer.cs.
override void Parser.CSharpPreprocessorLexer.setFilename | ( | string | f | ) |
Update _fileinfo attribute whenever filename changes.
Definition at line 115 of file CSharpPreprocessorLexer.cs.
const int Parser.CSharpPreprocessorLexer.CLOSE_PAREN = 37 |
Definition at line 75 of file CSharpPreprocessorLexer.cs.
const int Parser.CSharpPreprocessorLexer.COMBINING_CHARACTER = 53 |
Definition at line 91 of file CSharpPreprocessorLexer.cs.
const int Parser.CSharpPreprocessorLexer.CONNECTING_CHARACTER = 52 |
Definition at line 90 of file CSharpPreprocessorLexer.cs.
const int Parser.CSharpPreprocessorLexer.DECIMAL_DIGIT = 48 |
Definition at line 86 of file CSharpPreprocessorLexer.cs.
const int Parser.CSharpPreprocessorLexer.DECIMAL_DIGIT_CHARACTER = 51 |
Definition at line 89 of file CSharpPreprocessorLexer.cs.
const int Parser.CSharpPreprocessorLexer.DEFAULT = 18 |
Definition at line 56 of file CSharpPreprocessorLexer.cs.
const int Parser.CSharpPreprocessorLexer.EOF = 1 |
Definition at line 40 of file CSharpPreprocessorLexer.cs.
const int Parser.CSharpPreprocessorLexer.EQUAL = 41 |
Definition at line 79 of file CSharpPreprocessorLexer.cs.
const int Parser.CSharpPreprocessorLexer.FALSE = 17 |
Definition at line 55 of file CSharpPreprocessorLexer.cs.
const int Parser.CSharpPreprocessorLexer.FORMATTING_CHARACTER = 54 |
Definition at line 92 of file CSharpPreprocessorLexer.cs.
const int Parser.CSharpPreprocessorLexer.HEX_DIGIT = 49 |
Definition at line 87 of file CSharpPreprocessorLexer.cs.
const int Parser.CSharpPreprocessorLexer.LETTER_CHARACTER = 50 |
Definition at line 88 of file CSharpPreprocessorLexer.cs.
const int Parser.CSharpPreprocessorLexer.LOG_AND = 39 |
Definition at line 77 of file CSharpPreprocessorLexer.cs.
const int Parser.CSharpPreprocessorLexer.LOG_NOT = 38 |
Definition at line 76 of file CSharpPreprocessorLexer.cs.
const int Parser.CSharpPreprocessorLexer.LOG_OR = 40 |
Definition at line 78 of file CSharpPreprocessorLexer.cs.
const int Parser.CSharpPreprocessorLexer.NEWLINE = 44 |
Definition at line 82 of file CSharpPreprocessorLexer.cs.
const int Parser.CSharpPreprocessorLexer.NON_NEWLINE_WHITESPACE = 46 |
Definition at line 84 of file CSharpPreprocessorLexer.cs.
const int Parser.CSharpPreprocessorLexer.NOT_EQUAL = 42 |
Definition at line 80 of file CSharpPreprocessorLexer.cs.
const int Parser.CSharpPreprocessorLexer.NOT_NEWLINE = 45 |
Definition at line 83 of file CSharpPreprocessorLexer.cs.
const int Parser.CSharpPreprocessorLexer.NULL_TREE_LOOKAHEAD = 3 |
Definition at line 41 of file CSharpPreprocessorLexer.cs.
const int Parser.CSharpPreprocessorLexer.OPEN_PAREN = 36 |
Definition at line 74 of file CSharpPreprocessorLexer.cs.
const int Parser.CSharpPreprocessorLexer.PP_COND_ELIF = 22 |
Definition at line 60 of file CSharpPreprocessorLexer.cs.
const int Parser.CSharpPreprocessorLexer.PP_COND_ELSE = 23 |
Definition at line 61 of file CSharpPreprocessorLexer.cs.
const int Parser.CSharpPreprocessorLexer.PP_COND_ENDIF = 24 |
Definition at line 62 of file CSharpPreprocessorLexer.cs.
const int Parser.CSharpPreprocessorLexer.PP_COND_IF = 21 |
Definition at line 59 of file CSharpPreprocessorLexer.cs.
const int Parser.CSharpPreprocessorLexer.PP_DEFINE = 19 |
Definition at line 57 of file CSharpPreprocessorLexer.cs.
const int Parser.CSharpPreprocessorLexer.PP_ENDREGION = 29 |
Definition at line 67 of file CSharpPreprocessorLexer.cs.
const int Parser.CSharpPreprocessorLexer.PP_ERROR = 26 |
Definition at line 64 of file CSharpPreprocessorLexer.cs.
const int Parser.CSharpPreprocessorLexer.PP_FILENAME = 30 |
Definition at line 68 of file CSharpPreprocessorLexer.cs.
const int Parser.CSharpPreprocessorLexer.PP_IDENT = 31 |
Definition at line 69 of file CSharpPreprocessorLexer.cs.
const int Parser.CSharpPreprocessorLexer.PP_LINE = 25 |
Definition at line 63 of file CSharpPreprocessorLexer.cs.
const int Parser.CSharpPreprocessorLexer.PP_NUMBER = 33 |
Definition at line 71 of file CSharpPreprocessorLexer.cs.
const int Parser.CSharpPreprocessorLexer.PP_REGION = 28 |
Definition at line 66 of file CSharpPreprocessorLexer.cs.
const int Parser.CSharpPreprocessorLexer.PP_STRING = 32 |
Definition at line 70 of file CSharpPreprocessorLexer.cs.
const int Parser.CSharpPreprocessorLexer.PP_UNDEFINE = 20 |
Definition at line 58 of file CSharpPreprocessorLexer.cs.
const int Parser.CSharpPreprocessorLexer.PP_WARNING = 27 |
Definition at line 65 of file CSharpPreprocessorLexer.cs.
const int Parser.CSharpPreprocessorLexer.QUOTE = 35 |
Definition at line 73 of file CSharpPreprocessorLexer.cs.
const int Parser.CSharpPreprocessorLexer.SL_COMMENT = 43 |
Definition at line 81 of file CSharpPreprocessorLexer.cs.
Definition at line 8128 of file CSharpPreprocessorLexer.cs.
Definition at line 8716 of file CSharpPreprocessorLexer.cs.
Definition at line 8840 of file CSharpPreprocessorLexer.cs.
Definition at line 8854 of file CSharpPreprocessorLexer.cs.
Definition at line 8925 of file CSharpPreprocessorLexer.cs.
Definition at line 8962 of file CSharpPreprocessorLexer.cs.
Definition at line 8974 of file CSharpPreprocessorLexer.cs.
Definition at line 8991 of file CSharpPreprocessorLexer.cs.
Definition at line 9008 of file CSharpPreprocessorLexer.cs.
Definition at line 8279 of file CSharpPreprocessorLexer.cs.
Definition at line 8430 of file CSharpPreprocessorLexer.cs.
Definition at line 8474 of file CSharpPreprocessorLexer.cs.
Definition at line 8494 of file CSharpPreprocessorLexer.cs.
Definition at line 8565 of file CSharpPreprocessorLexer.cs.
Definition at line 8584 of file CSharpPreprocessorLexer.cs.
Definition at line 8625 of file CSharpPreprocessorLexer.cs.
Definition at line 8670 of file CSharpPreprocessorLexer.cs.
Definition at line 8682 of file CSharpPreprocessorLexer.cs.
const int Parser.CSharpPreprocessorLexer.TRUE = 16 |
Definition at line 54 of file CSharpPreprocessorLexer.cs.
const int Parser.CSharpPreprocessorLexer.UNICODE_CLASS_Cf = 15 |
Definition at line 53 of file CSharpPreprocessorLexer.cs.
const int Parser.CSharpPreprocessorLexer.UNICODE_CLASS_Ll = 7 |
Definition at line 45 of file CSharpPreprocessorLexer.cs.
const int Parser.CSharpPreprocessorLexer.UNICODE_CLASS_Lm = 10 |
Definition at line 48 of file CSharpPreprocessorLexer.cs.
const int Parser.CSharpPreprocessorLexer.UNICODE_CLASS_Lo = 9 |
Definition at line 47 of file CSharpPreprocessorLexer.cs.
const int Parser.CSharpPreprocessorLexer.UNICODE_CLASS_Lt = 5 |
Definition at line 43 of file CSharpPreprocessorLexer.cs.
const int Parser.CSharpPreprocessorLexer.UNICODE_CLASS_Lu = 8 |
Definition at line 46 of file CSharpPreprocessorLexer.cs.
const int Parser.CSharpPreprocessorLexer.UNICODE_CLASS_Mc = 12 |
Definition at line 50 of file CSharpPreprocessorLexer.cs.
const int Parser.CSharpPreprocessorLexer.UNICODE_CLASS_Mn = 11 |
Definition at line 49 of file CSharpPreprocessorLexer.cs.
const int Parser.CSharpPreprocessorLexer.UNICODE_CLASS_Nd = 13 |
Definition at line 51 of file CSharpPreprocessorLexer.cs.
const int Parser.CSharpPreprocessorLexer.UNICODE_CLASS_Nl = 4 |
Definition at line 42 of file CSharpPreprocessorLexer.cs.
const int Parser.CSharpPreprocessorLexer.UNICODE_CLASS_Pc = 14 |
Definition at line 52 of file CSharpPreprocessorLexer.cs.
const int Parser.CSharpPreprocessorLexer.UNICODE_CLASS_Zs = 6 |
Definition at line 44 of file CSharpPreprocessorLexer.cs.
const int Parser.CSharpPreprocessorLexer.UNICODE_ESCAPE_SEQUENCE = 47 |
Definition at line 85 of file CSharpPreprocessorLexer.cs.
const int Parser.CSharpPreprocessorLexer.WHITESPACE = 34 |
Definition at line 72 of file CSharpPreprocessorLexer.cs.
|
getset |
A for switching between this Lexer and the C#-only Lexer.
Definition at line 105 of file CSharpPreprocessorLexer.cs.