C# Class Antlr4.StringTemplate.TemplateGroupDirectory

Inheritance: TemplateGroup
Datei anzeigen Open project: antlr/antlrcs Class Usage Examples

Public Properties

Property Type Description
groupDirName string
root System.Uri

Public Methods

Method Description
ImportTemplates ( IToken fileNameToken ) : void
LoadTemplateFile ( string prefix, string unqualifiedFileName ) : CompiledTemplate
TemplateGroupDirectory ( System.Uri root, System.Text.Encoding encoding, char delimiterStartChar, char delimiterStopChar ) : Antlr.Runtime
TemplateGroupDirectory ( string dirName ) : Antlr.Runtime
TemplateGroupDirectory ( string dirName, System.Text.Encoding encoding ) : Antlr.Runtime
TemplateGroupDirectory ( string dirName, System.Text.Encoding encoding, char delimiterStartChar, char delimiterStopChar ) : Antlr.Runtime
TemplateGroupDirectory ( string dirName, char delimiterStartChar, char delimiterStopChar ) : Antlr.Runtime

Protected Methods

Method Description
Load ( string name ) : CompiledTemplate

* Load a template from dir or group file. Group file is given * precedence over dir with same name. name is * always fully qualified. *

Method Details

ImportTemplates() public method

public ImportTemplates ( IToken fileNameToken ) : void
fileNameToken IToken
return void

Load() protected method

* Load a template from dir or group file. Group file is given * precedence over dir with same name. name is * always fully qualified. *
protected Load ( string name ) : CompiledTemplate
name string
return Antlr4.StringTemplate.Compiler.CompiledTemplate

LoadTemplateFile() public method

public LoadTemplateFile ( string prefix, string unqualifiedFileName ) : CompiledTemplate
prefix string
unqualifiedFileName string
return Antlr4.StringTemplate.Compiler.CompiledTemplate

TemplateGroupDirectory() public method

public TemplateGroupDirectory ( System.Uri root, System.Text.Encoding encoding, char delimiterStartChar, char delimiterStopChar ) : Antlr.Runtime
root System.Uri
encoding System.Text.Encoding
delimiterStartChar char
delimiterStopChar char
return Antlr.Runtime

TemplateGroupDirectory() public method

public TemplateGroupDirectory ( string dirName ) : Antlr.Runtime
dirName string
return Antlr.Runtime

TemplateGroupDirectory() public method

public TemplateGroupDirectory ( string dirName, System.Text.Encoding encoding ) : Antlr.Runtime
dirName string
encoding System.Text.Encoding
return Antlr.Runtime

TemplateGroupDirectory() public method

public TemplateGroupDirectory ( string dirName, System.Text.Encoding encoding, char delimiterStartChar, char delimiterStopChar ) : Antlr.Runtime
dirName string
encoding System.Text.Encoding
delimiterStartChar char
delimiterStopChar char
return Antlr.Runtime

TemplateGroupDirectory() public method

public TemplateGroupDirectory ( string dirName, char delimiterStartChar, char delimiterStopChar ) : Antlr.Runtime
dirName string
delimiterStartChar char
delimiterStopChar char
return Antlr.Runtime

Property Details

groupDirName public_oe property

public string groupDirName
return string

root public_oe property

public System.Uri root
return System.Uri