public interface MethodEmitter
| Modifier and Type | Method and Description |
|---|---|
void |
assign(LocalVariable local,
Expression value) |
void |
assignVariableInScope(LocalVariable local,
Expression value) |
void |
beginBlock() |
void |
beginIf(Expression... tests)
Begin an if block,
if (tests[0] && tests[1]...)
... |
void |
beginIfNonNull(Expression... tests) |
void |
beginIfNot(Expression... tests) |
void |
beginIfNull(Expression... tests) |
void |
beginWhile(Expression... tests)
Begin a while block,
while (tests[0] && tests[1]...)
... |
void |
declare(LocalVariable local) |
void |
done() |
void |
endBlock() |
void |
expression(Expression expression) |
void |
put(Expression target,
FieldReference field,
Expression value) |
void |
returns() |
void |
returns(Expression value) |
void |
throwException(Expression exception) |
<T> void |
tryCatchBlock(Consumer<T> body,
Consumer<T> handler,
LocalVariable exception,
T block) |
void done()
void expression(Expression expression)
void put(Expression target, FieldReference field, Expression value)
void returns()
void returns(Expression value)
void assign(LocalVariable local, Expression value)
void beginWhile(Expression... tests)
while (tests[0] && tests[1]...)
...
void beginIf(Expression... tests)
if (tests[0] && tests[1]...)
...
void beginIfNot(Expression... tests)
void beginIfNull(Expression... tests)
void beginIfNonNull(Expression... tests)
void beginBlock()
void endBlock()
<T> void tryCatchBlock(Consumer<T> body, Consumer<T> handler, LocalVariable exception, T block)
void throwException(Expression exception)
void declare(LocalVariable local)
void assignVariableInScope(LocalVariable local, Expression value)
Copyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.