Class EPLModuleParseItem
java.lang.Object
com.espertech.esper.compiler.internal.util.EPLModuleParseItem
Item parsing an EPL module file.
-
Constructor Summary
ConstructorDescriptionEPLModuleParseItem
(String expression, int lineNum, int startChar, int endChar, int lineNumEnd, int lineNumContent, int lineNumContentEnd) Ctor. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the position of the end character.Returns the expression.int
Returns line number of expression.int
int
int
Returns line number where the expression ends.int
Returns the position of the start character.
-
Constructor Details
-
EPLModuleParseItem
public EPLModuleParseItem(String expression, int lineNum, int startChar, int endChar, int lineNumEnd, int lineNumContent, int lineNumContentEnd) Ctor.- Parameters:
expression
- EPLlineNum
- line number starting the EPL including commentsstartChar
- start character number total fileendChar
- end character numberlineNumEnd
- line number ending the EPL including commentslineNumContent
- line number starting the EPL excluding commentslineNumContentEnd
- line number ending the EPL excluding comments
-
-
Method Details
-
getLineNum
public int getLineNum()Returns line number of expression.- Returns:
- line number
-
getExpression
Returns the expression.- Returns:
- expression
-
getStartChar
public int getStartChar()Returns the position of the start character.- Returns:
- start char position
-
getEndChar
public int getEndChar()Returns the position of the end character.- Returns:
- end char position
-
getLineNumEnd
public int getLineNumEnd()Returns line number where the expression ends.- Returns:
- line number end
-
getLineNumContent
public int getLineNumContent() -
getLineNumContentEnd
public int getLineNumContentEnd()
-