Package org.eclipse.epsilon.eol.dom
Class IntegerLiteral
-
- All Implemented Interfaces:
ModuleElement
,IExecutableModuleElement
public class IntegerLiteral extends LiteralExpression<Number>
-
-
Constructor Summary
Constructors Constructor Description IntegerLiteral()
IntegerLiteral(Number value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(IEolVisitor visitor)
void
build(AST cst, IModule module)
String
getText()
void
setText(String text)
void
setValue(Number value)
-
Methods inherited from class org.eclipse.epsilon.eol.dom.LiteralExpression
execute, getValue
-
Methods inherited from class org.eclipse.epsilon.common.module.AbstractModuleElement
equals, getChildren, getComments, getData, getDebugInfo, getFile, getModule, getParent, getRegion, getUri, hashCode, setModule, setParent, setRegion, setUri, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.epsilon.common.module.ModuleElement
getChildren, getComments, getData, getFile, getModule, getParent, getRegion, getUri, setModule, setParent, setRegion, setUri
-
-
-
-
Field Detail
-
text
protected String text
-
-
Constructor Detail
-
IntegerLiteral
public IntegerLiteral()
-
IntegerLiteral
public IntegerLiteral(Number value)
-
-
Method Detail
-
build
public void build(AST cst, IModule module)
- Specified by:
build
in interfaceModuleElement
- Overrides:
build
in classAbstractModuleElement
-
setText
public void setText(String text)
-
setValue
public void setValue(Number value)
- Overrides:
setValue
in classLiteralExpression<Number>
-
getText
public String getText()
-
accept
public void accept(IEolVisitor visitor)
- Specified by:
accept
in classLiteralExpression<Number>
-
-