IDLVisitor class
- Inheritance
-
- Object
- CandidBaseVisitor<
IDLType< RuleContext> > - IDLVisitor
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
methods
→ Map<
MethodKey, MethType> -
final
-
objs
→ Map<
String, ObjectType< RuleContext> > -
final
-
pkgs
→ Set<
String> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sameObjs
→ Map<
String, Set< String> > -
final
-
sers
→ Map<
String, SerFactory> -
final
-
tuples
→ Map<
String, TupleType> -
final
-
typedefs
→ Map<
String, Def> -
final
Methods
-
aggregateResult(
IDLType< RuleContext> ? aggregate, IDLType<RuleContext> ? nextResult) → IDLType<RuleContext> ? -
Aggregates the results of visiting multiple children of a node. After
either all children are visited or {@link #shouldVisitNextChild} returns
false
, the aggregate value is returned as the result of {@link #visitChildren}.inherited -
defaultResult(
) → IDLType< RuleContext> ? -
Gets the default value returned by visitor methods. This value is
returned by the default implementations of
{@link #visitTerminal visitTerminal}, {@link #visitErrorNode visitErrorNode}.
The default implementation of {@link #visitChildren visitChildren}
initializes its aggregate result to this value.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
shouldVisitNextChild(
RuleNode node, IDLType< RuleContext> ? currentResult) → bool -
This method is called after visiting each child in
{@link #visitChildren}. This method is first called before the first
child is visited; at that point
currentResult
will be the initial value (in the default implementation, the initial value is returned by a call to {@link #defaultResult}. This method is not called after the last child is visited.inherited -
toString(
) → String -
A string representation of this object.
inherited
-
visit(
ParseTree tree) → IDLType< RuleContext> ? -
{@inheritDoc}
inherited
-
visitActor(
ActorContext ctx) → IDLType< RuleContext> -
The default implementation returns the result of calling
visitChildren on
ctx
.override -
visitActorType(
ActorTypeContext ctx) → IDLType< RuleContext> -
The default implementation returns the result of calling
visitChildren on
ctx
.override -
visitBlobType(
BlobTypeContext ctx) → IDLType< RuleContext> ? -
The default implementation returns the result of calling
visitChildren
onctx
.inherited -
visitBoolType(
BoolTypeContext ctx) → IDLType< RuleContext> ? -
The default implementation returns the result of calling
visitChildren
onctx
.inherited -
visitChildren(
RuleNode node) → IDLType< RuleContext> ? -
{@inheritDoc}
inherited
-
visitDataType(
DataTypeContext ctx) → IDLType< RuleContext> -
The default implementation returns the result of calling
visitChildren on
ctx
.override -
visitDef(
DefContext ctx) → IDLType< RuleContext> -
The default implementation returns the result of calling
visitChildren on
ctx
.override -
visitEmptyType(
EmptyTypeContext ctx) → IDLType< RuleContext> ? -
The default implementation returns the result of calling
visitChildren
onctx
.inherited -
visitErrorNode(
ErrorNode node) → IDLType< RuleContext> ? -
{@inheritDoc}
inherited
-
visitExprType(
ExprTypeContext ctx) → IDLType< RuleContext> -
The default implementation returns the result of calling
visitChildren on
ctx
.override -
visitFloatType(
FloatTypeContext ctx) → IDLType< RuleContext> ? -
The default implementation returns the result of calling
visitChildren
onctx
.inherited -
visitFuncAnn(
FuncAnnContext ctx) → IDLType< RuleContext> -
The default implementation returns the result of calling
visitChildren on
ctx
.override -
visitFuncType(
FuncTypeContext ctx) → IDLType< RuleContext> -
The default implementation returns the result of calling
visitChildren on
ctx
.override -
visitId(
IdContext ctx) → IDLType< RuleContext> -
The default implementation returns the result of calling
visitChildren on
ctx
.override -
visitIdType(
IdTypeContext ctx) → IDLType< RuleContext> -
The default implementation returns the result of calling
visitChildren on
ctx
.override -
visitImp(
ImpContext ctx) → IDLType< RuleContext> -
The default implementation returns the result of calling
visitChildren on
ctx
.override -
visitImportPart(
ImportPartContext ctx) → IDLType< RuleContext> -
The default implementation returns the result of calling
visitChildren on
ctx
.override -
visitIntType(
IntTypeContext ctx) → IDLType< RuleContext> ? -
The default implementation returns the result of calling
visitChildren
onctx
.inherited -
visitMethType(
MethTypeContext ctx) → IDLType< RuleContext> -
The default implementation returns the result of calling
visitChildren on
ctx
.override -
visitNatType(
NatTypeContext ctx) → IDLType< RuleContext> ? -
The default implementation returns the result of calling
visitChildren
onctx
.inherited -
visitNull(
NullContext ctx) → IDLType< RuleContext> ? -
The default implementation returns the result of calling
visitChildren
onctx
.inherited -
visitNumberType(
NumberTypeContext ctx) → IDLType< RuleContext> ? -
The default implementation returns the result of calling
visitChildren
onctx
.inherited -
visitOptType(
OptTypeContext ctx) → IDLType< RuleContext> -
The default implementation returns the result of calling
visitChildren on
ctx
.override -
visitPairType(
PairTypeContext ctx) → IDLType< RuleContext> -
The default implementation returns the result of calling
visitChildren on
ctx
.override -
visitPrimType(
PrimTypeContext ctx) → IDLType< RuleContext> -
The default implementation returns the result of calling
visitChildren on
ctx
.override -
visitPrincipalType(
PrincipalTypeContext ctx) → IDLType< RuleContext> ? -
The default implementation returns the result of calling
visitChildren
onctx
.inherited -
visitProg(
ProgContext ctx) → IDLType< RuleContext> -
The default implementation returns the result of calling
visitChildren on
ctx
.override -
visitRecordType(
RecordTypeContext ctx) → IDLType< RuleContext> -
The default implementation returns the result of calling
visitChildren on
ctx
.override -
visitRefType(
RefTypeContext ctx) → IDLType< RuleContext> -
The default implementation returns the result of calling
visitChildren on
ctx
.override -
visitReservedType(
ReservedTypeContext ctx) → IDLType< RuleContext> ? -
The default implementation returns the result of calling
visitChildren
onctx
.inherited -
visitTerminal(
TerminalNode node) → IDLType< RuleContext> ? -
{@inheritDoc}
inherited
-
visitTextType(
TextTypeContext ctx) → IDLType< RuleContext> ? -
The default implementation returns the result of calling
visitChildren
onctx
.inherited -
visitTupleType(
TupleTypeContext ctx) → IDLType< RuleContext> -
The default implementation returns the result of calling
visitChildren on
ctx
.override -
visitVariantType(
VariantTypeContext ctx) → IDLType< RuleContext> -
The default implementation returns the result of calling
visitChildren on
ctx
.override -
visitVecType(
VecTypeContext ctx) → IDLType< RuleContext> -
The default implementation returns the result of calling
visitChildren on
ctx
.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited