Click or drag to resize

Parser Fields

The Parser type exposes the following members.

Fields
  NameDescription
Protected field_ch
Protected field_conditionalNestingLevelStack
Protected field_isSLOC
Protected field_length
Protected field_line
Protected field_linesWithSpaces
Protected field_linesWithTabs
Protected field_normalizationBlockerStack
Protected field_peekAheadIndex
Protected field_peekAheadTokens
Protected field_pk
Protected field_pos
Protected field_previous
Protected field_start
Protected field_startLine
Protected field_textReader
Protected field_token
Protected field_unusedListStack
Protected field_wasEscaped
Public fieldCodeUnit
The CodeUnit being parsed.
Public fieldConditionalNestingLevel
The current nesting level if parsing the '?' clause of a Conditional expression.
Public fieldInDirectiveExpression
True if parsing a compiler directive expression.
Public fieldLastToken
The last token.
Public fieldLineNumber
The current line number.
Public fieldParentStartingToken
The starting token of the last parent code object.
Public fieldParseFlags
Global parsing flags.
Public fieldPostUnused
Special-case Unused objects after the current code object instead of before it.
Public fieldSingleUnusedIdentifierParser
Delegate for parsing single unused identifiers in Blocks (used for EnumDecls).
Public fieldStatic memberSkipToken
Special object used to skip processing of a token.
Public fieldSLOC
SLOC count: Lines with other than blanks, comments, symbols (such as braces).
Public fieldTerminatingKeywords
Optional keywords that should terminate the current parsing if encountered (used for things such as context-sensitive keywords within LINQ queries).
Public fieldTokenText
The text of the current token (null if none).
Public fieldTokenType
The type of the current token (None if none).
Public fieldUnused
Unused tokens or code objects in the current active scope.
Top
See Also