|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jruby.lexer.yacc.StringToken
Represents a token which is currently lexed.
Constructor Summary | |
StringToken(ILexerSupport support,
IErrorHandler errorHandler,
ISourcePosition position)
Constructor for StringToken. |
Method Summary | |
void |
append(char c)
|
void |
append(java.lang.String s)
|
void |
appendEscape(char closeQuote)
|
IErrorHandler |
getErrorHandler()
Gets the errorHandler. |
int |
getLength()
|
ISourcePosition |
getPosition()
Gets the position. |
ILexerSupport |
getSupport()
Gets the support. |
java.lang.String |
getToken()
|
void |
newToken(ISourcePosition position)
|
void |
setErrorHandler(IErrorHandler errorHandler)
Sets the errorHandler. |
void |
setPosition(ISourcePosition position)
Sets the position. |
void |
setSupport(ILexerSupport support)
Sets the support. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public StringToken(ILexerSupport support, IErrorHandler errorHandler, ISourcePosition position)
Method Detail |
public void append(char c)
public void append(java.lang.String s)
public java.lang.String getToken()
public int getLength()
public void newToken(ISourcePosition position)
public void appendEscape(char closeQuote) throws java.io.EOFException
java.io.EOFException
public IErrorHandler getErrorHandler()
public void setErrorHandler(IErrorHandler errorHandler)
errorHandler
- The errorHandler to setpublic ILexerSupport getSupport()
public void setSupport(ILexerSupport support)
support
- The support to setpublic ISourcePosition getPosition()
public void setPosition(ISourcePosition position)
position
- The position to set
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |