C# Class Antlr4.Codegen.Target.JavaTarget

Inheritance: AbstractTarget
Datei anzeigen Open project: sharwell/antlr4cs

Protected Properties

Property Type Description
badWords ISet
javaKeywords string[]

Public Methods

Method Description
EncodeIntAsCharEscape ( int v ) : string
GetBadWords ( ) : ISet
GetSerializedATNSegmentLimit ( ) : int
GetTargetStringLiteralFromANTLRStringLiteral ( CodeGenerator generator, string literal, bool addQuotes ) : string
JavaTarget ( CodeGenerator gen ) : System.Collections.Generic

Protected Methods

Method Description
AddBadWords ( ) : void
LoadTemplates ( ) : TemplateGroup
VisibleGrammarSymbolCausesIssueInGeneratedCode ( GrammarAST idNode ) : bool

Method Details

AddBadWords() protected method

protected AddBadWords ( ) : void
return void

EncodeIntAsCharEscape() public method

public EncodeIntAsCharEscape ( int v ) : string
v int
return string

GetBadWords() public method

public GetBadWords ( ) : ISet
return ISet

GetSerializedATNSegmentLimit() public method

public GetSerializedATNSegmentLimit ( ) : int
return int

GetTargetStringLiteralFromANTLRStringLiteral() public method

public GetTargetStringLiteralFromANTLRStringLiteral ( CodeGenerator generator, string literal, bool addQuotes ) : string
generator CodeGenerator
literal string
addQuotes bool
return string

JavaTarget() public method

public JavaTarget ( CodeGenerator gen ) : System.Collections.Generic
gen CodeGenerator
return System.Collections.Generic

LoadTemplates() protected method

protected LoadTemplates ( ) : TemplateGroup
return Antlr4.StringTemplate.TemplateGroup

VisibleGrammarSymbolCausesIssueInGeneratedCode() protected method

protected VisibleGrammarSymbolCausesIssueInGeneratedCode ( GrammarAST idNode ) : bool
idNode Antlr4.Tool.Ast.GrammarAST
return bool

Property Details

badWords protected_oe property

protected ISet badWords
return ISet

javaKeywords protected_oe static_oe property

protected static string[] javaKeywords
return string[]