C# Class Loyc.Syntax.ParsingMode

Standard parsing modes used with IParsingService and ILNodePrinterOptions.
Inheritance: Symbol
Datei anzeigen Open project: qwertie/ecsharp Class Usage Examples

Public Properties

Property Type Description
Declarations ParsingMode
Expressions ParsingMode
File ParsingMode
FormalArguments ParsingMode
Pool SymbolPool
Statements ParsingMode
Types ParsingMode

Private Methods

Method Description
ParsingMode ( Symbol prototype ) : System

Property Details

Declarations public_oe static_oe property

Tells IParsingService.Parse to treat the input as a list of statements. If the language makes a distinction between executable and declaration contexts, this refers to the declaration context, in which types, methods, and properties are recognized.
public static ParsingMode,Loyc.Syntax Declarations
return ParsingMode

Expressions public_oe static_oe property

Tells IParsingService.Parse to treat the input as a single expression or expression list (which, in most languages, is comma-separated).
public static ParsingMode,Loyc.Syntax Expressions
return ParsingMode

File public_oe static_oe property

Tells IParsingService.Parse to treat the input as a complete source file (this should be the default, i.e. null will do the same thing).
public static ParsingMode,Loyc.Syntax File
return ParsingMode

FormalArguments public_oe static_oe property

Tells IParsingService.Parse to treat the input as a formal argument list (parameter names with types).
public static ParsingMode,Loyc.Syntax FormalArguments
return ParsingMode

Pool public_oe static_oe property

public static SymbolPool Pool
return SymbolPool

Statements public_oe static_oe property

Tells IParsingService.Parse to treat the input as a list of statements. If the language makes a distinction between executable and declaration contexts, this refers to the executable context.
public static ParsingMode,Loyc.Syntax Statements
return ParsingMode

Types public_oe static_oe property

Tells IParsingService.Parse to treat the input as a list of types (or a single type, if a list is not supported).
public static ParsingMode,Loyc.Syntax Types
return ParsingMode