Parser Fields |
The Parser type exposes the following members.
Name | Description | |
---|---|---|
_ch | ||
_conditionalNestingLevelStack | ||
_isSLOC | ||
_length | ||
_line | ||
_linesWithSpaces | ||
_linesWithTabs | ||
_normalizationBlockerStack | ||
_peekAheadIndex | ||
_peekAheadTokens | ||
_pk | ||
_pos | ||
_previous | ||
_start | ||
_startLine | ||
_textReader | ||
_token | ||
_unusedListStack | ||
_wasEscaped | ||
CodeUnit |
The CodeUnit being parsed.
| |
ConditionalNestingLevel |
The current nesting level if parsing the '?' clause of a Conditional expression.
| |
InDirectiveExpression |
True if parsing a compiler directive expression.
| |
LastToken |
The last token.
| |
LineNumber |
The current line number.
| |
ParentStartingToken |
The starting token of the last parent code object.
| |
ParseFlags |
Global parsing flags.
| |
PostUnused |
Special-case Unused objects after the current code object instead of before it.
| |
SingleUnusedIdentifierParser |
Delegate for parsing single unused identifiers in Blocks (used for EnumDecls).
| |
SkipToken |
Special object used to skip processing of a token.
| |
SLOC |
SLOC count: Lines with other than blanks, comments, symbols (such as braces).
| |
TerminatingKeywords |
Optional keywords that should terminate the current parsing if encountered
(used for things such as context-sensitive keywords within LINQ queries).
| |
TokenText |
The text of the current token (null if none).
| |
TokenType |
The type of the current token (None if none).
| |
Unused |
Unused tokens or code objects in the current active scope.
|