Standard parsing modes used with IParsingService and ILNodePrinterOptions.
More...
Source file:
Standard parsing modes used with IParsingService and ILNodePrinterOptions.
|
| string | Name [get] |
| | Gets the name of the Symbol. More...
|
| |
| SymbolPool | Pool [get] |
| | Gets the SymbolPool in which this Symbol was created. More...
|
| |
| bool | IsGlobal [get] |
| | Returns true if this symbol is in the global pool (GSymbol.Pool). More...
|
| |
| int | Id [get] |
| | Returns a numeric ID for the Symbol. More...
|
| |
|
override string | ToString () |
| |
|
override int | GetHashCode () |
| |
|
override bool | Equals (object?b) |
| |
|
bool | Equals (Symbol?b) |
| |
|
int | CompareTo (Symbol?other) |
| |
|
static | operator Symbol? (string?s) |
| |
|
static | operator Symbol? (UString s) |
| |
|
static | operator string (Symbol s) |
| |
|
static | operator UString (Symbol s) |
| |
| static Symbol | For (string s) |
| | Alias for GSymbol.Get(string). This function was introduced to match the equivalent ES6 API Symbol.for("string") More...
|
| |
| | Symbol (Symbol prototype) |
| | For use by a derived class to produce a statically-typed enumeration in a private pool. See the example under SymbolPool (of SymbolEnum) More...
|
| |
| readonly ParsingMode Loyc.Syntax.ParsingMode.Declarations = Pool.Get("Declarations") |
|
static |
Tells IParsingService.Parse to treat the input as a list of statements. If the language makes a distinction between executable and declaration contexts, this refers to the declaration context, in which types, methods, and properties are recognized.
| readonly ParsingMode Loyc.Syntax.ParsingMode.Expressions = Pool.Get("Expressions") |
|
static |
| readonly ParsingMode Loyc.Syntax.ParsingMode.File = Pool.Get("File") |
|
static |
| readonly ParsingMode Loyc.Syntax.ParsingMode.FormalArguments = Pool.Get("FormalArguments") |
|
static |
| readonly ParsingMode Loyc.Syntax.ParsingMode.Statements = Pool.Get("Statements") |
|
static |
Tells IParsingService.Parse to treat the input as a list of statements. If the language makes a distinction between executable and declaration contexts, this refers to the executable context.
| readonly ParsingMode Loyc.Syntax.ParsingMode.Types = Pool.Get("Types") |
|
static |
Tells IParsingService.Parse to treat the input as a list of types (or a single type, if a list is not supported).