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
파일 보기 프로젝트 열기: qwertie/ecsharp

공개 프로퍼티들

프로퍼티 타입 설명
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