C# (CSharp) Loyc.Syntax Namespace

Nested Namespaces

Loyc.Syntax.Impl
Loyc.Syntax.Les
Loyc.Syntax.Lexing
Loyc.Syntax.Tests

Classes

Name Description
CallNode Base class of all nodes that represent calls such as f(x), operator calls such as x + y, braced blocks, and all other things that are not simple symbols and literals.
CodeSymbols A list of common symbols that have special meaning somewhere in Loyc or EC#: operators, built-in data types, keywords, trivia, etc.
EmptySourceFile A dummy implementation of ISourceFile that has only a filename, no source text. Used as the source file of synthetic syntax nodes.
IdNode Base class of all nodes that represent simple identifiers (including special symbols such as #foo).
IndexPositionMapperTests
LNodeExt Standard extension methods for LNode.
LNodeFactory Contains helper methods for creating LNodes. An LNodeFactory holds a reference to the current source file (File) so that it does not need to be repeated every time you create a node.
LNodePrinter Standard extension methods for ILNodePrinter.
LNodePrinterOptions A concrete class that users can pass to an LNodePrinter.
LineAndCol Holds a line number (Line) and a position in the line (PosInLine). This class isn't really needed in Loyc but is separated from SourcePos in case anyone might want position without a filename.
LiteralNode Base class of all nodes that represent literal values such as 123 and "foo".
ParseHelpers Static methods that help with common parsing jobs, such as parsing integers, floats, and strings with C escape sequences.
ParsingMode Standard parsing modes used with IParsingService and ILNodePrinterOptions.
ParsingService Extension methods for IParsingService.
ParsingService.PushedCurrent Returned by PushCurrent(IParsingService).
PrintHelpers Static methods that help to print literals, such as EscapeCStyle which escapes special characters with backslashes.
SourcePos Holds a filename (FileName), a line number (Line) and a position in the line (PosInLine), representing a position in a source code file.
SourceRange
StandardTriviaInjectorTests
StdCallNode
StdComplexCallNode
StdComplexCallNodeWithAttrs
StdIdNode
StdIdNodeWithAttrs
StdLiteralNode
StdLiteralNodeWithAttrs
StdSimpleCallNode
StdSimpleCallNodeWithAttrs
StdTriviaNode A simple call node with a single literal argument.