org.oklab.compiler
クラス Token
java.lang.Object
org.oklab.compiler.Token
public class Token
- extends java.lang.Object
このプログラミング言語が理解できるトークンの一覧.
列挙値としても利用する.
- 導入されたバージョン:
- 1.0
- バージョン:
- 1.0
- 作成者:
- Satoshi Okita satoshiokita@gmail.com
|
メソッドの概要 |
static int |
getSerial(java.lang.Class cls)
一意な値を返す. |
| クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SUBSTITUTE
public static final int SUBSTITUTE
- 関連項目:
- 定数フィールド値
PLUS
public static final int PLUS
- 関連項目:
- 定数フィールド値
MINUS
public static final int MINUS
- 関連項目:
- 定数フィールド値
DEVIDE
public static final int DEVIDE
- 関連項目:
- 定数フィールド値
MULTIPLY
public static final int MULTIPLY
- 関連項目:
- 定数フィールド値
EXCLAMATION
public static final int EXCLAMATION
- 関連項目:
- 定数フィールド値
COMMA
public static final int COMMA
- 関連項目:
- 定数フィールド値
SEMICOLON
public static final int SEMICOLON
- 関連項目:
- 定数フィールド値
L_BRACE
public static final int L_BRACE
- 関連項目:
- 定数フィールド値
R_BRACE
public static final int R_BRACE
- 関連項目:
- 定数フィールド値
L_PARENTHESIS
public static final int L_PARENTHESIS
- 関連項目:
- 定数フィールド値
R_PARENTHESIS
public static final int R_PARENTHESIS
- 関連項目:
- 定数フィールド値
COMPARE_GRATER
public static final int COMPARE_GRATER
- 関連項目:
- 定数フィールド値
COMPARE_LESS
public static final int COMPARE_LESS
- 関連項目:
- 定数フィールド値
COMPARE_EQUAL
public static final int COMPARE_EQUAL
- 関連項目:
- 定数フィールド値
COMPARE_NOT_EQUAL
public static final int COMPARE_NOT_EQUAL
- 関連項目:
- 定数フィールド値
COMPARE_GRATER_OR_EQUAL
public static final int COMPARE_GRATER_OR_EQUAL
- 関連項目:
- 定数フィールド値
COMPARE_LESS_OR_EQUAL
public static final int COMPARE_LESS_OR_EQUAL
- 関連項目:
- 定数フィールド値
TYPE_int
public static final int TYPE_int
TYPE_void
public static final int TYPE_void
TYPE_INVALID
public static final int TYPE_INVALID
- 関連項目:
- 定数フィールド値
EOF
public static final int EOF
- 関連項目:
- 定数フィールド値
IF
public static final int IF
- 関連項目:
- 定数フィールド値
WHILE
public static final int WHILE
- 関連項目:
- 定数フィールド値
RETURN
public static final int RETURN
- 関連項目:
- 定数フィールド値
IDENTIFIER
public static final int IDENTIFIER
- 関連項目:
- 定数フィールド値
CONSTANT_int
public static final int CONSTANT_int
- 関連項目:
- 定数フィールド値
Token
public Token()
getSerial
public static int getSerial(java.lang.Class cls)
- 一意な値を返す.
- パラメータ:
cls - 取得したいクラス.
- 戻り値:
- 一意な値を返す.