C# 클래스 SimpleC.Types.Tokens.KeywordToken

상속: Token
파일 보기 프로젝트 열기: nrother/simple-c

공개 메소드들

메소드 설명
IsKeyword ( string s ) : bool

Returns true, if the given string is a known keyword, false otherwise.

KeywordToken ( string content ) : System
ToVariableType ( ) : VariableType

Returns the assisated VariableType for this keyword, if this keyword represents a variable type. Throws an excepion otherwise.

메소드 상세

IsKeyword() 공개 정적인 메소드

Returns true, if the given string is a known keyword, false otherwise.
public static IsKeyword ( string s ) : bool
s string
리턴 bool

KeywordToken() 공개 메소드

public KeywordToken ( string content ) : System
content string
리턴 System

ToVariableType() 공개 메소드

Returns the assisated VariableType for this keyword, if this keyword represents a variable type. Throws an excepion otherwise.
public ToVariableType ( ) : VariableType
리턴 VariableType