C# Класс Loyc.Ecs.EcsLanguageService

The Value property provides easy access to the lexer, parser and printer for Enhanced C#.
EC# overview: https://ecsharp.net
Наследование: IParsingService, ILNodePrinter
Показать файл Открыть проект

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

Свойство Тип Описание
Value EcsLanguageService
WithPlainCSharpPrinter EcsLanguageService

Открытые методы

Метод Описание
Parse ( ICharSource text, string fileName, IMessageSink msgs, ParsingMode inputType = null, bool preserveComments = true ) : IListSource
Parse ( ILexer input, IMessageSink msgs, ParsingMode inputType = null, bool preserveComments = true ) : IListSource
Parse ( IListSource input, ISourceFile file, IMessageSink msgs, ParsingMode inputType = null ) : IListSource
Print ( IEnumerable nodes, StringBuilder target, IMessageSink sink = null, ParsingMode mode = null, ILNodePrinterOptions options = null ) : void
Print ( LNode node, StringBuilder target, IMessageSink sink = null, ParsingMode mode = null, ILNodePrinterOptions options = null ) : void
ToString ( ) : string
Tokenize ( ICharSource text, string fileName, IMessageSink msgs ) : ILexer

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

Метод Описание
EcsLanguageService ( bool usePlainCsPrinter ) : System

Описание методов

Parse() публичный Метод

public Parse ( ICharSource text, string fileName, IMessageSink msgs, ParsingMode inputType = null, bool preserveComments = true ) : IListSource
text ICharSource
fileName string
msgs IMessageSink
inputType Loyc.Syntax.ParsingMode
preserveComments bool
Результат IListSource

Parse() публичный Метод

public Parse ( ILexer input, IMessageSink msgs, ParsingMode inputType = null, bool preserveComments = true ) : IListSource
input ILexer
msgs IMessageSink
inputType Loyc.Syntax.ParsingMode
preserveComments bool
Результат IListSource

Parse() публичный Метод

public Parse ( IListSource input, ISourceFile file, IMessageSink msgs, ParsingMode inputType = null ) : IListSource
input IListSource
file ISourceFile
msgs IMessageSink
inputType Loyc.Syntax.ParsingMode
Результат IListSource

Print() публичный Метод

public Print ( IEnumerable nodes, StringBuilder target, IMessageSink sink = null, ParsingMode mode = null, ILNodePrinterOptions options = null ) : void
nodes IEnumerable
target StringBuilder
sink IMessageSink
mode Loyc.Syntax.ParsingMode
options ILNodePrinterOptions
Результат void

Print() публичный Метод

public Print ( LNode node, StringBuilder target, IMessageSink sink = null, ParsingMode mode = null, ILNodePrinterOptions options = null ) : void
node LNode
target StringBuilder
sink IMessageSink
mode Loyc.Syntax.ParsingMode
options ILNodePrinterOptions
Результат void

ToString() публичный Метод

public ToString ( ) : string
Результат string

Tokenize() публичный Метод

public Tokenize ( ICharSource text, string fileName, IMessageSink msgs ) : ILexer
text ICharSource
fileName string
msgs IMessageSink
Результат ILexer

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

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

public static EcsLanguageService,Loyc.Ecs Value
Результат EcsLanguageService

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

public static EcsLanguageService,Loyc.Ecs WithPlainCSharpPrinter
Результат EcsLanguageService