Class SourceInfo
java.lang.Object
com.twineworks.tweakflow.lang.parse.SourceInfo
-
Constructor Summary
ConstructorsConstructorDescriptionSourceInfo(ParseUnit parseUnit, int line, int charWithinLine, int sourceIdxStart, int sourceIdxEnd) -
Method Summary
Modifier and TypeMethodDescriptioncopy()booleanencloses(int atLine, int atChar) intintgetLine()intintbooleanprecedes(SourceInfo other) setCharWithinLine(int charWithinLine) setLine(int line) voidsetParseUnit(ParseUnit parseUnit) setSourceIdxEnd(int sourceIdxEnd) setSourceIdxStart(int sourceIdxStart) toString()
-
Constructor Details
-
SourceInfo
public SourceInfo(ParseUnit parseUnit, int line, int charWithinLine, int sourceIdxStart, int sourceIdxEnd)
-
-
Method Details
-
getParseUnit
-
setParseUnit
-
getLine
public int getLine() -
setLine
-
getCharWithinLine
public int getCharWithinLine() -
setCharWithinLine
-
copy
-
getSourceIdxStart
public int getSourceIdxStart() -
setSourceIdxStart
-
getSourceIdxEnd
public int getSourceIdxEnd() -
setSourceIdxEnd
-
toString
-
getFullLocation
-
getShortLocation
-
getLineLocationMarker
-
getSourceCode
-
getSourceCodeLine
-
precedes
-
encloses
public boolean encloses(int atLine, int atChar)
-