Package org.yecht
Class Parser
- java.lang.Object
-
- org.yecht.Parser
-
-
Method Summary
-
-
-
Field Detail
-
root
public Object root
-
root_on_error
public Object root_on_error
-
bufsize
public int bufsize
-
buffer
public Pointer buffer
-
linectptr
public int linectptr
-
lineptr
public int lineptr
-
token
public int token
-
toktmp
public int toktmp
-
cursor
public int cursor
-
marker
public int marker
-
limit
public int limit
-
linect
public int linect
-
eof
public boolean eof
-
bonus
public Object bonus
-
-
Method Detail
-
resetLevels
public void resetLevels()
-
popLevel
public void popLevel()
-
resetCursor
public void resetCursor()
-
setRootOnError
public void setRootOnError(Object roer)
-
newParser
public static Parser newParser()
-
handler
public void handler(NodeHandler hdlr)
-
implicitTyping
public void implicitTyping(boolean flag)
-
taguriExpansion
public void taguriExpansion(boolean flag)
-
errorHandler
public void errorHandler(ErrorHandler hdlr)
-
badAnchorHandler
public void badAnchorHandler(BadAnchorHandler hdlr)
-
setInputType
public void setInputType(ParserInput input_type)
-
file
public void file(InputStream fp, IoFileRead read)
-
currentLevel
public Level currentLevel()
-
addLevel
public void addLevel(int len, LevelStatus status)
-
moveTokens
public int moveTokens()
-
checkLimit
public void checkLimit(int len)
-
read
public int read() throws IOException
- Throws:
IOException
-
read
public int read(int max_size) throws IOException
- Throws:
IOException
-
parse
public Object parse()
-
removeAnchor
public void removeAnchor(String a)
-
tryImplicit
public static boolean tryImplicit(Node n)
-
-