|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava_cup.runtime.Symbol
es.uned.compiler.lexical.TokenBase
compiler.lexical.Token
public class Token
Field Summary |
---|
Fields inherited from class java_cup.runtime.Symbol |
---|
left, parse_state, right, sym, value |
Constructor Summary | |
---|---|
Token()
Constructor for Token. |
|
Token(int id)
Constructor for Token. |
Method Summary | |
---|---|
int |
getColumn()
Returns the column. |
int |
getId()
Returns the id. |
java.lang.String |
getLexema()
Returns the lexema. |
int |
getLine()
Returns the line. |
void |
setColumn(int column)
Sets The column. |
void |
setId(int id)
Sets The id. |
void |
setLexema(java.lang.String lexema)
Sets The lexema. |
void |
setLine(int line)
Sets The line. |
Methods inherited from class es.uned.compiler.lexical.TokenBase |
---|
equals, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Token()
public Token(int id)
id
- The token id.Method Detail |
---|
public int getColumn()
public int getId()
public java.lang.String getLexema()
public int getLine()
public void setColumn(int column)
column
- The column to set.public void setId(int id)
id
- The id to set.public void setLexema(java.lang.String lexema)
lexema
- The lexema to set.public void setLine(int line)
line
- The line to set.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |