public interface ExpressionContext
| Modifier and Type | Method and Description |
|---|---|
void |
commit(ExpressionTransaction.Commit commit)
Register commit in the transaction
|
List<ExpressionTransaction.Commit> |
getCommits()
Get commits
|
Context |
getContext()
Get parser context
|
ExpressionParser |
getParser()
Get current expression parser
|
Stack<Expression> |
getResults()
Get results
|
SourceStream |
getSource()
Get source used to create synchronized source
|
SynchronizedSource |
getSynchronizedSource()
Get synchronized source used by expression parser
|
boolean |
hasResults()
Check if context contains any expressions on stack
|
Expression |
peekExpression()
Check the latest expression on stack
|
Expression |
popExpression()
Remove the latest expression from stack
|
Expression popExpression()
Expression peekExpression()
void commit(ExpressionTransaction.Commit commit)
commit - the commit to saveboolean hasResults()
SynchronizedSource getSynchronizedSource()
SourceStream getSource()
List<ExpressionTransaction.Commit> getCommits()
Stack<Expression> getResults()
Context getContext()
ExpressionParser getParser()
Copyright © 2020. All rights reserved.