public final class IntegerLiteral extends AbstractLiteral
| Modifier and Type | Method and Description |
|---|---|
void |
accept(LiteralVisitor visitor)
Accept a
LiteralVisitor. |
int |
getValue()
Get the value of the
IntegerLiteral. |
static IntegerLiteral |
of(int value)
Create a new
IntegerLiteral from an integer. |
String |
toString() |
acceptpublic static IntegerLiteral of(int value)
IntegerLiteral from an integer.value - contentIntegerLiteralpublic int getValue()
IntegerLiteral.public void accept(LiteralVisitor visitor)
LiteralLiteralVisitor.visitor - visitor to acceptCopyright © 2018–2021. All rights reserved.