public class ForHandler extends ExpressionHandler
LoopEmitter
Constructor and Description |
---|
ForHandler() |
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.
|
getPriority
public boolean shouldProcess(Compiler compiler)
ExpressionHandler
shouldProcess
in class ExpressionHandler
compiler
- the compiler which provides access to the InputProcessor.getReader()
and Compiler.getContext()
.public Emitter process(Compiler compiler)
ExpressionHandler
process
in class ExpressionHandler
compiler
- the compiler which provides access to the InputProcessor.getReader()
and Compiler.getContext()
.Copyright © 2018. All rights reserved.