public class IfHandler extends ExpressionHandler
ConditionalEmitter| Constructor and Description |
|---|
IfHandler() |
| Modifier and Type | Method and Description |
|---|---|
Emitter |
process(Compiler compiler)
Processes the expression initialized by an @ in the source code.
|
boolean |
shouldProcess(Compiler compiler)
Determines if this handler is responsible, based on the current state of the reader.
|
getPrioritypublic boolean shouldProcess(Compiler compiler)
ExpressionHandlershouldProcess in class ExpressionHandlercompiler - the compiler which provides access to the InputProcessor.getReader() and Compiler.getContext().public Emitter process(Compiler compiler)
ExpressionHandlerprocess in class ExpressionHandlercompiler - the compiler which provides access to the InputProcessor.getReader() and Compiler.getContext().Copyright © 2018. All rights reserved.