cz.cuni.pogamut.posh.nblexer
Class PoshCharStream
java.lang.Object
cz.cuni.amis.pogamut.sposh.elements.SimpleCharStream
cz.cuni.pogamut.posh.nblexer.PoshCharStream
public class PoshCharStream
- extends cz.cuni.amis.pogamut.sposh.elements.SimpleCharStream
An implementation of interface CharStream, where the stream is assumed to
contain only ASCII characters (with java-like unicode escape processing).
| Fields inherited from class cz.cuni.amis.pogamut.sposh.elements.SimpleCharStream |
bufcolumn, buffer, bufline, bufpos, column, inBuf, inputStream, line, maxNextCharInd, prevCharIsCR, prevCharIsLF, staticFlag, tabSize |
|
Constructor Summary |
PoshCharStream(org.netbeans.spi.lexer.LexerInput input)
|
| Methods inherited from class cz.cuni.amis.pogamut.sposh.elements.SimpleCharStream |
adjustBeginLineColumn, ExpandBuff, FillBuff, getTabSize, ReInit, ReInit, ReInit, ReInit, ReInit, ReInit, ReInit, ReInit, ReInit, setTabSize, UpdateLineColumn |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PoshCharStream
public PoshCharStream(org.netbeans.spi.lexer.LexerInput input)
BeginToken
public char BeginToken()
throws IOException
- Overrides:
BeginToken in class cz.cuni.amis.pogamut.sposh.elements.SimpleCharStream
- Throws:
IOException
GetImage
public String GetImage()
- Overrides:
GetImage in class cz.cuni.amis.pogamut.sposh.elements.SimpleCharStream
GetSuffix
public char[] GetSuffix(int len)
- Overrides:
GetSuffix in class cz.cuni.amis.pogamut.sposh.elements.SimpleCharStream
backup
public void backup(int i)
- Overrides:
backup in class cz.cuni.amis.pogamut.sposh.elements.SimpleCharStream
getBeginColumn
public int getBeginColumn()
- Overrides:
getBeginColumn in class cz.cuni.amis.pogamut.sposh.elements.SimpleCharStream
getBeginLine
public int getBeginLine()
- Overrides:
getBeginLine in class cz.cuni.amis.pogamut.sposh.elements.SimpleCharStream
getEndColumn
public int getEndColumn()
- Overrides:
getEndColumn in class cz.cuni.amis.pogamut.sposh.elements.SimpleCharStream
getEndLine
public int getEndLine()
- Overrides:
getEndLine in class cz.cuni.amis.pogamut.sposh.elements.SimpleCharStream
readChar
public char readChar()
throws IOException
- Overrides:
readChar in class cz.cuni.amis.pogamut.sposh.elements.SimpleCharStream
- Throws:
IOException
getColumn
@Deprecated
public int getColumn()
- Deprecated.
- Overrides:
getColumn in class cz.cuni.amis.pogamut.sposh.elements.SimpleCharStream
getLine
@Deprecated
public int getLine()
- Deprecated.
- Overrides:
getLine in class cz.cuni.amis.pogamut.sposh.elements.SimpleCharStream
Done
public void Done()
- Overrides:
Done in class cz.cuni.amis.pogamut.sposh.elements.SimpleCharStream
Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.