public class Token
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
lexem |
private int |
m_LineNumber |
private int |
m_Offset |
java.lang.Object |
token |
Constructor and Description |
---|
Token(int tok,
char c,
int lineNumber) |
Token(int tok,
char c,
int lineNumber,
int charOffset) |
Token(int tok,
int lineNumber) |
Token(int tok,
java.lang.String s,
int lineNumber) |
Token(int tok,
java.lang.String s,
int lineNumber,
int charOffset) |
Modifier and Type | Method and Description |
---|---|
char |
CharInString() |
java.lang.String |
get_String() |
java.lang.String |
getLexem() |
int |
getLineNumber() |
int |
getOffset() |
boolean |
String2Bool() |
double |
String2Double() |
float |
String2Float() |
int |
String2Int() |
long |
String2Long() |
public java.lang.Object token
private java.lang.String lexem
private int m_LineNumber
private int m_Offset
Token(int tok, int lineNumber)
Token(int tok, java.lang.String s, int lineNumber)
Token(int tok, char c, int lineNumber)
Token(int tok, java.lang.String s, int lineNumber, int charOffset)
Token(int tok, char c, int lineNumber, int charOffset)
public int getLineNumber()
public int getOffset()
public java.lang.String getLexem()
public int String2Int()
public long String2Long()
public float String2Float()
public double String2Double()
public char CharInString()
public boolean String2Bool()
public java.lang.String get_String()