C# Class Antlr4.Misc.CharSupport

Mostrar archivo Open project: sharwell/antlr4cs

Public Properties

Property Type Description
ANTLRLiteralCharValueEscape string[]
ANTLRLiteralEscapedCharValue int[]

Public Methods

Method Description
Capitalize ( string s ) : string
GetANTLRCharLiteralForChar ( int c ) : string
GetCharValueFromCharInGrammarLiteral ( string cstr ) : int
GetCharValueFromGrammarCharLiteral ( string literal ) : int
GetStringFromGrammarStringLiteral ( string literal ) : string

Private Methods

Method Description
CharSupport ( ) : System.Globalization

Method Details

Capitalize() public static method

public static Capitalize ( string s ) : string
s string
return string

GetANTLRCharLiteralForChar() public static method

public static GetANTLRCharLiteralForChar ( int c ) : string
c int
return string

GetCharValueFromCharInGrammarLiteral() public static method

public static GetCharValueFromCharInGrammarLiteral ( string cstr ) : int
cstr string
return int

GetCharValueFromGrammarCharLiteral() public static method

public static GetCharValueFromGrammarCharLiteral ( string literal ) : int
literal string
return int

GetStringFromGrammarStringLiteral() public static method

public static GetStringFromGrammarStringLiteral ( string literal ) : string
literal string
return string

Property Details

ANTLRLiteralCharValueEscape public_oe static_oe property

public static string[] ANTLRLiteralCharValueEscape
return string[]

ANTLRLiteralEscapedCharValue public_oe static_oe property

public static int[] ANTLRLiteralEscapedCharValue
return int[]