public class JsCastMap extends JsonArray
Modifier and Type | Class and Description |
---|---|
static class |
JsCastMap.JsQueryType
A low-level node representing a query type for cast/instanceof.
|
Constructor and Description |
---|
JsCastMap(SourceInfo sourceInfo,
List<JsCastMap.JsQueryType> queryTypes,
JClassType jsoType) |
Modifier and Type | Method and Description |
---|---|
void |
traverse(JVisitor visitor,
Context ctx)
Causes this object to have the visitor visit itself and its children.
|
getExprs, getType, hasSideEffects, resolve
makeStatement
getSourceInfo, setSourceInfo, toSource, toString
public JsCastMap(SourceInfo sourceInfo, List<JsCastMap.JsQueryType> queryTypes, JClassType jsoType)
public void traverse(JVisitor visitor, Context ctx)
JVisitable
traverse
in interface JVisitable
traverse
in class JsonArray
visitor
- the visitor that should traverse this nodectx
- the context of an existing traversalCopyright © 2018. All rights reserved.