|
Enhanced C#
Loyc library documentation
|
Values used with ILNodePrinterHelper{Self}.Newline(Symbol). More...
Values used with ILNodePrinterHelper{Self}.Newline(Symbol).
Public static fields | |
|
static new readonly SymbolPool < PrinterIndentHint > | Pool = new SymbolPool<PrinterIndentHint>(p => new PrinterIndentHint(p)) |
| static PrinterIndentHint | Normal = Pool.Get("") |
| Requests normal (statement) indentation (this is the default) More... | |
| static PrinterIndentHint | Subexpression = Pool.Get(nameof(Subexpression)) |
| Specifies that a subexpression has started. More... | |
| static PrinterIndentHint | NoIndent = Pool.Get(nameof(NoIndent)) |
| Requests no indentation. This is sometimes useful to help achieve a simple printer structure that uses either Indent(Subexpression) or Indent(NoIndent) at the beginning with an unconditional Dedent() at the end, so that you don't need to keep track of whether or not you called Indent. More... | |
| static PrinterIndentHint | Brackets = Pool.Get(nameof(Brackets)) |
| Specifies that brackets (parentheses or square brackets) have started. More... | |
| static PrinterIndentHint | Label = Pool.Get(nameof(Label)) |
| Requests label-tyle indentation 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 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... | |
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 |
Specifies that brackets (parentheses or square brackets) have started.
Referenced by Loyc.Syntax.Impl.LNodePrinterHelper.AppendIndentAfterNewline().
|
static |
Requests label-tyle indentation
Referenced by Loyc.Syntax.Impl.LNodePrinterHelper.AppendIndentAfterNewline().
|
static |
Requests no indentation. This is sometimes useful to help achieve a simple printer structure that uses either Indent(Subexpression) or Indent(NoIndent) at the beginning with an unconditional Dedent() at the end, so that you don't need to keep track of whether or not you called Indent.
Referenced by Loyc.Syntax.Impl.LNodePrinterHelper.AppendIndentAfterNewline().
|
static |
Requests normal (statement) indentation (this is the default)
|
static |
Specifies that a subexpression has started.
Referenced by Loyc.Syntax.Impl.LNodePrinterHelper.AppendIndentAfterNewline().
1.8.7