C# Класс Loyc.Syntax.ParsingMode

Standard parsing modes used with IParsingService and ILNodePrinterOptions.
Наследование: Symbol
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Declarations ParsingMode
Expressions ParsingMode
File ParsingMode
FormalArguments ParsingMode
Pool SymbolPool
Statements ParsingMode
Types ParsingMode

Приватные методы

Метод Описание
ParsingMode ( Symbol prototype ) : System

Описание свойств

Declarations публичное статическое свойство

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
Результат ParsingMode

Expressions публичное статическое свойство

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
Результат ParsingMode

File публичное статическое свойство

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
Результат ParsingMode

FormalArguments публичное статическое свойство

Tells IParsingService.Parse to treat the input as a formal argument list (parameter names with types).
public static ParsingMode,Loyc.Syntax FormalArguments
Результат ParsingMode

Pool публичное статическое свойство

public static SymbolPool Pool
Результат SymbolPool

Statements публичное статическое свойство

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
Результат ParsingMode

Types публичное статическое свойство

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
Результат ParsingMode