Enhanced C#
Language of your choice: library documentation

Documentation moved to ecsharp.net

GitHub doesn't support HTTP redirects, so you'll be redirected in 3 seconds.

 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Classes | Typedefs | Enumerations
Package Loyc.Syntax.Les

Contains classes related to Loyc Expression Syntax (LES), including the parser and printer (reachable through Loyc.Syntax.Les.LesLanguageService). More...

Classes

class  DefaultNodePrinterWriter
 Base class for the helper classes of LesNodePrinter and Ecs.EcsNodePrinter, called LesNodePrinterWriter and EcsNodePrinterWriter. See INodePrinterWriter. More...
 
interface  INodePrinterWriter
 This interface is implemented by helper objects that handle the low-level details of node printing. It is used by LesNodePrinter. More...
 
class  LesIndentTokenGenerator
 Indent postprocessor for Loyc Expression Syntax More...
 
class  LesLanguageService
 The Value property provides easy access to the lexer, parser and printer for Loyc Expression Syntax (LES). More...
 
class  LesLexer
 Lexer for EC# source code. More...
 
class  LesNodePrinter
 Prints a Loyc tree in LES (Loyc Expression Syntax) format. More...
 
class  LesParser
 Parses LES (Loyc Expression Syntax) code into a sequence of Loyc trees (LNode), one per top-level statement. More...
 
class  LesPrecedence
 Contains Precedence objects that represent the precedence levels of LES. More...
 
class  LesPrecedenceMap
 This class's main job is to maintain a table of Precedence values for LES operators. When you ask about a new operator, its precedence is cached for future reference. More...
 
class  NodePrinterWriterBase
 Abstract base class for INodePrinterWriter. Has an protected _indentLevel field that is increased by Indent() and decreased by Dedent(). More...
 
class  TokenExt
 Provides the Type() extension method required by Token and the ToString(Token) method to express an LES token as a string, for tokens that contain sufficient information to do so. More...
 

Typedefs

using TT = TokenType
 
using S = CodeSymbols
 
using P = LesPrecedence
 

Enumerations

enum  TokenType {
  EOF = 0, Newline = TokenKind.Spaces + 2, SLComment = TokenKind.Comment,
  MLComment = TokenKind.Comment + 1, Shebang = TokenKind.Comment + 2, Id = TokenKind.Id,
  Literal = TokenKind.Literal, Dot = TokenKind.Dot, Assignment = TokenKind.Assignment,
  NormalOp = TokenKind.Operator, PreOrSufOp = TokenKind.Operator + 1, PrefixOp = TokenKind.Operator + 3,
  Colon = TokenKind.Operator + 4, At = TokenKind.Operator + 5, Not = TokenKind.Operator + 6,
  BQString = TokenKind.Operator + 7, Backslash = TokenKind.Operator + 8, Comma = TokenKind.Separator,
  Semicolon = TokenKind.Separator + 1, LParen = TokenKind.LParen, SpaceLParen = TokenKind.LParen + 1,
  RParen = TokenKind.RParen, LBrack = TokenKind.LBrack, RBrack = TokenKind.RBrack,
  LBrace = TokenKind.LBrace, RBrace = TokenKind.RBrace, Indent = TokenKind.LBrace + 1,
  Dedent = TokenKind.RBrace + 1, Unknown = TokenKind.Other
}
 

Detailed Description

Contains classes related to Loyc Expression Syntax (LES), including the parser and printer (reachable through Loyc.Syntax.Les.LesLanguageService).