C# Class MyCompiler.Grammar.Extensions.NonTerminalExtention

ファイルを表示 Open project: CCTUnifor/Compiler

Public Methods

Method Description
IsEmpty ( char c ) : bool
IsEmpty ( string c ) : bool
IsNonTerminal ( char c ) : bool
IsNonTerminal ( string c ) : bool
IsTerminal ( char c ) : bool
IsTerminal ( string c ) : bool
ToNonTerminal ( string value ) : NonTerminalToken
ToTerminal ( char value ) : TerminalToken
ToTerminal ( string value ) : TerminalToken

Method Details

IsEmpty() public static method

public static IsEmpty ( char c ) : bool
c char
return bool

IsEmpty() public static method

public static IsEmpty ( string c ) : bool
c string
return bool

IsNonTerminal() public static method

public static IsNonTerminal ( char c ) : bool
c char
return bool

IsNonTerminal() public static method

public static IsNonTerminal ( string c ) : bool
c string
return bool

IsTerminal() public static method

public static IsTerminal ( char c ) : bool
c char
return bool

IsTerminal() public static method

public static IsTerminal ( string c ) : bool
c string
return bool

ToNonTerminal() public static method

public static ToNonTerminal ( string value ) : NonTerminalToken
value string
return NonTerminalToken

ToTerminal() public static method

public static ToTerminal ( char value ) : TerminalToken
value char
return TerminalToken

ToTerminal() public static method

public static ToTerminal ( string value ) : TerminalToken
value string
return TerminalToken