public abstract class TarsType
extends org.antlr.runtime.tree.CommonTree
| 构造器和说明 |
|---|
TarsType(int tokenType,
String typeName) |
TarsType(org.antlr.runtime.Token token,
String typeName) |
| 限定符和类型 | 方法和说明 |
|---|---|
TarsCustomType |
asCustom() |
TarsMapType |
asMap() |
TarsPrimitiveType |
asPrimitive() |
TarsVectorType |
asVector() |
boolean |
isCustom() |
boolean |
isMap() |
boolean |
isPrimitive() |
boolean |
isVector() |
String |
typeName() |
dupNode, getCharPositionInLine, getChildIndex, getLine, getParent, getText, getToken, getTokenStartIndex, getTokenStopIndex, getType, isNil, setChildIndex, setParent, setTokenStartIndex, setTokenStopIndex, setUnknownTokenBoundaries, toStringaddChild, addChildren, createChildrenList, deleteChild, freshenParentAndChildIndexes, freshenParentAndChildIndexes, freshenParentAndChildIndexesDeeply, freshenParentAndChildIndexesDeeply, getAncestor, getAncestors, getChild, getChildCount, getChildren, getFirstChildWithType, hasAncestor, insertChild, replaceChildren, sanityCheckParentAndChildIndexes, sanityCheckParentAndChildIndexes, setChild, toStringTreepublic TarsType(int tokenType,
String typeName)
public TarsType(org.antlr.runtime.Token token,
String typeName)
public String typeName()
public boolean isPrimitive()
public boolean isVector()
public boolean isMap()
public boolean isCustom()
public TarsPrimitiveType asPrimitive()
public TarsVectorType asVector()
public TarsMapType asMap()
public TarsCustomType asCustom()
Copyright © 2020. All Rights Reserved.