org.pz.platypus
Class ParseContext
java.lang.Object
org.pz.platypus.ParseContext
public class ParseContext
- extends java.lang.Object
Contains the current parsing info in a single object.
- Author:
- alb
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
source
public final Source source
content
private java.lang.String content
chars
public char[] chars
startPoint
public final int startPoint
ParseContext
public ParseContext(GDD gdd,
Source source,
java.lang.String content,
int startPoint)
atEndOfLine
public boolean atEndOfLine()
segment
public java.lang.String segment(int endPoint)
isEnd
public boolean isEnd(int parsePoint)
isCommandStart
public boolean isCommandStart(int parsePoint)
containsInRemainingChars
public boolean containsInRemainingChars(java.lang.String symbol)
getLocation
public int getLocation(java.lang.String symbol)
isPastEol
public boolean isPastEol(int parsePoint)
getContent
public java.lang.String getContent()
Copyright © 2008-10 Pacific Data Works LLC