public class Constant extends Expression implements HasDataType<Constant>
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
DataType |
getDataType() |
Object |
getValue() |
Constant |
setDataType(DataType dataType) |
Constant |
setValue(Object value) |
getLocator, setLocator, traverse, traverse, traverse, traverse, traverseMixedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDataTypepublic Constant()
public Constant(Object value)
public DataType getDataType()
getDataType in interface HasDataType<Constant>public Constant setDataType(DataType dataType)
setDataType in interface HasDataType<Constant>public Object getValue()
public VisitorAction accept(Visitor visitor)
Copyright © 2019 University of Tartu. All rights reserved.