Package org.eclipse.epsilon.eol.dom
Class StringLiteral
- java.lang.Object
-
- org.eclipse.epsilon.common.module.AbstractModuleElement
-
- org.eclipse.epsilon.eol.dom.AbstractExecutableModuleElement
-
- org.eclipse.epsilon.eol.dom.Expression
-
- org.eclipse.epsilon.eol.dom.LiteralExpression<java.lang.String>
-
- org.eclipse.epsilon.eol.dom.StringLiteral
-
- All Implemented Interfaces:
ModuleElement,ICompilableModuleElement,IExecutableModuleElement
public class StringLiteral extends LiteralExpression<java.lang.String>
-
-
Field Summary
-
Fields inherited from class org.eclipse.epsilon.eol.dom.LiteralExpression
value
-
Fields inherited from class org.eclipse.epsilon.eol.dom.Expression
resolvedType
-
-
Constructor Summary
Constructors Constructor Description StringLiteral()StringLiteral(java.lang.String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbuild(AST cst, IModule module)voidcompile(IEolCompilationContext context)java.lang.Stringunescape(java.lang.String str)-
Methods inherited from class org.eclipse.epsilon.eol.dom.LiteralExpression
execute, getValue, setValue
-
Methods inherited from class org.eclipse.epsilon.eol.dom.Expression
getResolvedType, hasResolvedType
-
Methods inherited from class org.eclipse.epsilon.common.module.AbstractModuleElement
equals, getChildren, getComments, 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, getFile, getModule, getParent, getRegion, getUri, setModule, setParent, setRegion, setUri
-
-
-
-
Method Detail
-
build
public void build(AST cst, IModule module)
- Specified by:
buildin interfaceModuleElement- Overrides:
buildin classAbstractModuleElement
-
compile
public void compile(IEolCompilationContext context)
-
unescape
public java.lang.String unescape(java.lang.String str)
-
-