C# Класс SimpleC.Types.Tokens.KeywordToken

Наследование: Token
Показать файл Открыть проект

Открытые методы

Метод Описание
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