|
Enhanced C#
Language of your choice: library documentation
|
Standard parsing modes used with IParsingService and ILNodePrinterOptions. More...
Standard parsing modes used with IParsingService and ILNodePrinterOptions.
Public static fields | |
| static new readonly SymbolPool< ParsingMode > | Pool = new SymbolPool<ParsingMode>(p => new ParsingMode(p)) |
| static readonly ParsingMode | Expressions = Pool.Get("Expressions") |
| Tells IParsingService.Parse to treat the input as a single expression or expression list (which, in most languages, is comma-separated). More... | |
| static readonly ParsingMode | Statements = Pool.Get("Statements") |
| 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. More... | |
| static readonly ParsingMode | Declarations = Pool.Get("Declarations") |
| 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. More... | |
| static readonly ParsingMode | Types = Pool.Get("Types") |
| Tells IParsingService.Parse to treat the input as a list of types (or a single type, if a list is not supported). More... | |
| static readonly ParsingMode | FormalArguments = Pool.Get("FormalArguments") |
| Tells IParsingService.Parse to treat the input as a formal argument list (parameter names with types). More... | |
| static readonly ParsingMode | File = Pool.Get("File") |
| Tells IParsingService.Parse to treat the input as a complete source file (this should be the default, i.e. null will do the same thing). More... | |
Additional Inherited Members | |
Properties inherited from Loyc.Symbol | |
| 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... | |
Public Member Functions inherited from Loyc.Symbol | |
| override string | ToString () |
| override int | GetHashCode () |
| override bool | Equals (object b) |
| bool | Equals (Symbol b) |
| int | CompareTo (Symbol other) |
Static Public Member Functions inherited from Loyc.Symbol | |
| static | operator Symbol (string s) |
| static | operator string (Symbol s) |
| static | operator Symbol (UString 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... | |
Protected Member Functions inherited from Loyc.Symbol | |
| 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... | |
|
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.
|
static |
Tells IParsingService.Parse to treat the input as a single expression or expression list (which, in most languages, is comma-separated).
Referenced by Loyc.LLParserGenerator.GeneralCodeGenHelper.Example(), Loyc.LLParserGenerator.CodeGenHelperBase.GenerateAndPredCheck(), Loyc.Syntax.Les.Les3LanguageService.Parse(), Loyc.Syntax.Les.Les2LanguageService.Parse(), and Loyc.Ecs.EcsLanguageService.Parse().
|
static |
Tells IParsingService.Parse to treat the input as a complete source file (this should be the default, i.e. null will do the same thing).
Referenced by Loyc.Syntax.ParsingService.ParseFile().
|
static |
Tells IParsingService.Parse to treat the input as a formal argument list (parameter names with types).
Referenced by Loyc.Ecs.EcsLanguageService.Parse().
|
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.
|
static |
Tells IParsingService.Parse to treat the input as a list of types (or a single type, if a list is not supported).
Referenced by Loyc.Ecs.EcsLanguageService.Parse().
1.8.17