public class PrimitiveVariable extends CodeLocation.CodeLocationInfo implements Variable, Inst
| 限定符和类型 | 类和说明 |
|---|---|
static class |
PrimitiveVariable.ValueType |
CodeLocation.CodeLocationInfo, CodeLocation.CodePositionfixedLength, quoteChar| 构造器和说明 |
|---|
PrimitiveVariable(Object value,
PrimitiveVariable.ValueType valueType) |
PrimitiveVariable(Object value,
PrimitiveVariable.ValueType valueType,
int radix) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
accept(AstVisitor astVisitor) |
void |
doFormat(int depth,
Hints formatOption,
FormatWriter writer)
格式化
|
Object |
getValue() |
PrimitiveVariable.ValueType |
getValueType() |
String |
toString() |
getEndPosition, getStartPosition, setEndPosition, setStartPositionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetEndPosition, getStartPosition, setEndPosition, setStartPositionpublic PrimitiveVariable(Object value, PrimitiveVariable.ValueType valueType)
public PrimitiveVariable(Object value, PrimitiveVariable.ValueType valueType, int radix)
public Object getValue()
public PrimitiveVariable.ValueType getValueType()
public String toString()
public void accept(AstVisitor astVisitor)
public void doFormat(int depth,
Hints formatOption,
FormatWriter writer)
throws IOException
InstFormatdoFormat 在接口中 InstFormatIOExceptionCopyright © 2020. All rights reserved.