public class DefaultCodeBuilder.BaseCode extends Object implements Code
Code.Caller, Code.Constant, Code.Identifier
CALLER, CONSTANT, IDENTIFIER, UNDEFINED
Constructor and Description |
---|
BaseCode() |
Modifier and Type | Method and Description |
---|---|
void |
accept(Visitor visitor)
Provides each value of this container to the provided
Visitor . |
int |
code() |
public void accept(Visitor visitor) throws BaseException
Visitable
Visitor
.accept
in interface Visitable
visitor
- the visitor to apply to each value.BaseException
- if there is an error while performing the visit