|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.interactive_instruments.ShapeChange.Ocl.SourceReference
public class SourceReference
A SourceReference object stands for a distinct source reference in a line of
OCL code. SourceReference objects are initially created in the Lexer, they
are, however, kept and maintained in higher value syntactical constructs
until they are finally used in diagnostic messages.
All reference numbers count from zero. The end column points to the last
character, not the one following it.
Method Summary | |
---|---|
short |
getColumnFrom()
This function is for inquiring the start column from a Source Reference. |
short |
getColumnTo()
This function is for inquiring the end column from a Source Reference. |
short |
getLineNumber()
This function is for inquiring the line number from a SourceReference. |
short |
getTokenFrom()
This function is for inquiring the start token number from a Source Reference. |
short |
getTokenTo()
This function is for inquiring the end token number from a Source Reference. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public short getLineNumber()
public short getColumnFrom()
public short getColumnTo()
public short getTokenFrom()
public short getTokenTo()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |