Class Statement
java.lang.Object
dev.frostlake.executor.procedural.Statement
- Direct Known Subclasses:
CallStatement,CaseStatement,CloseStatement,DeclareCursorStatement,DeclareExceptionStatement,DeclareResultSetStatement,DeclareStatement,FetchStatement,ForStatement,IfStatement,LoopStatement,OpenStatement,RaiseStatement,RepeatStatement,ReturnStatement,ReturnTableStatement,SetStatement,SqlStatement,WhileStatement
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetLabel()int1-based line of the statement's first token, or -1 when unknown.int0-based column of the statement's first token, or -1 when unknown.getType()voidvoidsetSourcePosition(int line, int position)
-
Constructor Details
-
Statement
-
-
Method Details
-
getSourceLine
public int getSourceLine()1-based line of the statement's first token, or -1 when unknown. -
getSourcePosition
public int getSourcePosition()0-based column of the statement's first token, or -1 when unknown. -
setSourcePosition
public void setSourcePosition(int line, int position) -
getType
-
getLabel
-
setLabel
-