org.eclipse.tptp.platform.provisional.fastxpath.compiler
Interface ICompilerContext
- All Known Implementing Classes:
- CompilerContext, CompilerContext
- public interface ICompilerContext
- Since:
- 4.2
API_REFERENCE
public static final java.lang.String API_REFERENCE
API_REFERENCE - the compiled reference to the runtime
fastXPathEngine in each CompiledExpressionEvaluator
- See Also:
- Constant Field Values
LAST_PREDICATE_MARKER
public static final java.lang.String LAST_PREDICATE_MARKER
LAST_PREDICATE_MARKER - A marker to point the last
predicate in the compiled code
- See Also:
- Constant Field Values
getPreviousExpresion
public IExpression getPreviousExpresion()
- Returns:
- previous expression
getSb
public java.lang.StringBuffer getSb()
- Returns:
- sb - the stringBuffer
enterPredicate
public void enterPredicate()
exitPredicate
public void exitPredicate()
getReturnExpression
public java.lang.String getReturnExpression()
- Returns:
- the part of the expression that evaluates the return value of the
expression
in
public void in(IExpression currentExpression)
- Parameters:
currentExpression -
out
public void out()
appendGetter2
public void appendGetter2(java.lang.String name)
- Parameters:
name -
addName
public void addName(java.lang.String name)
- Parameters:
name -
append
public void append(java.lang.String string)
- Parameters:
string -
getFastXPathEngine
public IFastXPathEngine getFastXPathEngine()
- Returns:
- Returns the fastXPathEngine.
getRuntimeContext
public FastXPathContext getRuntimeContext()
setRuntimeContext
public ICompilerContext setRuntimeContext(FastXPathContext runtimeContext,
java.lang.Object object)