|
Enhanced C#
Loyc library documentation
|
A set of relatively universal parsing options that IParsingServices should understand. More...
A set of relatively universal parsing options that IParsingServices should understand.
Properties | |
| ParsingMode | Mode [get] |
| A global::Loyc.Syntax.ParsingMode value indicating which part of the language is being parsed (e.g. expressions, or an entire file). More... | |
| bool | PreserveComments [get] |
| Whether to preserve comments and newlines by attaching trivia attributes to the output. If IParsingService.CanPreserveComments is false, this parameter will have no effect. More... | |
| bool | SurfaceScanOnly [get] |
| Indicates that the parsing service is only being used for syntax highlighting, so the content of literals is not important. The produced tokens or LNode can claim every literal is null. More... | |
| int | SpacesPerTab [get] |
| If tabs are significant, this option controls the number of spaces a single tab should be equated with. More... | |
| ILiteralParser | LiteralParser [get] |
| Requests that a specific parser be used to convert literals into strings. More... | |
|
get |
Requests that a specific parser be used to convert literals into strings.
Support for this property is optional, and if it is supported, the parser may choose to use this parser only for type markers for which it does not have built-in support, or it may use it for all literals.
|
get |
A global::Loyc.Syntax.ParsingMode value indicating which part of the language is being parsed (e.g. expressions, or an entire file).
Referenced by Loyc.Syntax.Les.Les3LanguageService.Parse(), and Loyc.Syntax.Les.Les2LanguageService.Parse().
|
get |
Whether to preserve comments and newlines by attaching trivia attributes to the output. If IParsingService.CanPreserveComments is false, this parameter will have no effect.
Referenced by Loyc.Syntax.Les.Les3LanguageService.Parse(), and Loyc.Syntax.Les.Les2LanguageService.Parse().
|
get |
If tabs are significant, this option controls the number of spaces a single tab should be equated with.
|
get |
Indicates that the parsing service is only being used for syntax highlighting, so the content of literals is not important. The produced tokens or LNode can claim every literal is null.
1.8.7