|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.groovy.syntax.lexer.AbstractCharStream
org.codehaus.groovy.syntax.lexer.StringCharStream
Field Summary |
Fields inherited from interface org.codehaus.groovy.syntax.lexer.CharStream |
EOS |
Constructor Summary | |
StringCharStream(java.lang.String text)
|
|
StringCharStream(java.lang.String text,
java.lang.String description)
|
Method Summary | |
void |
close()
|
char |
consume()
Consume the next character. |
Methods inherited from class org.codehaus.groovy.syntax.lexer.AbstractCharStream |
getDescription |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public StringCharStream(java.lang.String text)
public StringCharStream(java.lang.String text, java.lang.String description)
Method Detail |
public char consume() throws ReadException
CharStream
ReadException
- If an error occurs attempting to consume
a character.public void close() throws ReadException
ReadException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |