Enhanced C#
Language of your choice: library documentation
|
Prints a Loyc tree in LES (Loyc Expression Syntax) format. More...
Prints a Loyc tree in LES (Loyc Expression Syntax) format.
Unless otherwise noted, the default value of all options is false.
Properties | |
INodePrinterWriter | Writer [get, set] |
IMessageSink?? | ErrorSink [get, set] |
Les2PrinterOptions | Options [get] |
Public Member Functions | |
void | SetOptions (ILNodePrinterOptions options) |
Static Public Member Functions | |
static string | PrintId (Symbol name) |
static string | PrintLiteral (object value, NodeStyle style=0) |
static string | PrintString (string text, char quoteType, bool tripleQuoted) |
static bool | IsNormalIdentifier (Symbol name) |
Returns true if the given symbol can be printed as a normal identifier, without an "@" prefix. Note: identifiers starting with "#" still count as normal; call LNode.HasSpecialName to detect this. More... | |
static bool | IsNormalIdentifier (UString name) |
Protected fields | |
Les2PrecedenceMap | _prec = Les2PrecedenceMap.Default |
Protected static fields | |
static readonly Precedence | StartStmt = Precedence.MinValue |
Context: beginning of main expression (potential superexpression) More... | |
|
static |
Returns true if the given symbol can be printed as a normal identifier, without an "@" prefix. Note: identifiers starting with "#" still count as normal; call LNode.HasSpecialName to detect this.
|
staticprotected |
Context: beginning of main expression (potential superexpression)