Package org.eclipse.epsilon.eol.dom
Class RealLiteral
-
- All Implemented Interfaces:
ModuleElement
,IExecutableModuleElement
public class RealLiteral extends LiteralExpression<Number>
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
doublePrecision
-
Fields inherited from class org.eclipse.epsilon.eol.dom.LiteralExpression
value
-
-
Constructor Summary
Constructors Constructor Description RealLiteral()
RealLiteral(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()
boolean
isDoublePrecision()
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
-
-
-
-
Constructor Detail
-
RealLiteral
public RealLiteral()
-
RealLiteral
public RealLiteral(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()
-
isDoublePrecision
public boolean isDoublePrecision()
-
accept
public void accept(IEolVisitor visitor)
- Specified by:
accept
in classLiteralExpression<Number>
-
-