C# 클래스 Antlr4.StringTemplate.Compiler.TemplateCompiler

파일 보기 프로젝트 열기: antlr/antlrcs 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
NUM_OPTIONS int
SubtemplatePrefix string
defaultOptionValues string>.IDictionary
funcs Bytecode>.IDictionary
subtemplateCount int
supportedOptions RenderOption>.IDictionary

공개 메소드들

메소드 설명
Compile ( string template ) : CompiledTemplate
Compile ( string name, string template ) : CompiledTemplate
Compile ( string srcName, string name, List args, string template, IToken templateToken ) : CompiledTemplate
DefineBlankRegion ( CompiledTemplate outermostImpl, IToken nameToken ) : CompiledTemplate
GetNewSubtemplateName ( ) : string
TemplateCompiler ( TemplateGroup group ) : System.Collections.Generic

보호된 메소드들

메소드 설명
ReportMessageAndThrowTemplateException ( ITokenStream tokens, IToken templateToken, Antlr.Runtime.Parser parser, RecognitionException re ) : void

메소드 상세

Compile() 공개 메소드

public Compile ( string template ) : CompiledTemplate
template string
리턴 CompiledTemplate

Compile() 공개 메소드

public Compile ( string name, string template ) : CompiledTemplate
name string
template string
리턴 CompiledTemplate

Compile() 공개 메소드

public Compile ( string srcName, string name, List args, string template, IToken templateToken ) : CompiledTemplate
srcName string
name string
args List
template string
templateToken IToken
리턴 CompiledTemplate

DefineBlankRegion() 공개 정적인 메소드

public static DefineBlankRegion ( CompiledTemplate outermostImpl, IToken nameToken ) : CompiledTemplate
outermostImpl CompiledTemplate
nameToken IToken
리턴 CompiledTemplate

GetNewSubtemplateName() 공개 정적인 메소드

public static GetNewSubtemplateName ( ) : string
리턴 string

ReportMessageAndThrowTemplateException() 보호된 메소드

protected ReportMessageAndThrowTemplateException ( ITokenStream tokens, IToken templateToken, Antlr.Runtime.Parser parser, RecognitionException re ) : void
tokens ITokenStream
templateToken IToken
parser Antlr.Runtime.Parser
re Antlr.Runtime.RecognitionException
리턴 void

TemplateCompiler() 공개 메소드

public TemplateCompiler ( TemplateGroup group ) : System.Collections.Generic
group TemplateGroup
리턴 System.Collections.Generic

프로퍼티 상세

NUM_OPTIONS 공개적으로 정적으로 프로퍼티

public static int NUM_OPTIONS
리턴 int

SubtemplatePrefix 공개적으로 정적으로 프로퍼티

public static string SubtemplatePrefix
리턴 string

defaultOptionValues 공개적으로 정적으로 프로퍼티

public static IDictionary defaultOptionValues
리턴 string>.IDictionary

funcs 공개적으로 정적으로 프로퍼티

public static IDictionary funcs
리턴 Bytecode>.IDictionary

subtemplateCount 공개적으로 정적으로 프로퍼티

public static int subtemplateCount
리턴 int

supportedOptions 공개적으로 정적으로 프로퍼티

public static IDictionary supportedOptions
리턴 RenderOption>.IDictionary