visitDef method

  1. @override
void visitDef(
  1. DefContext ctx
)
override

The default implementation returns the result of calling visitChildren on ctx.

Implementation

@override
void visitDef(DefContext ctx) {
  _dep = {};
  final visitDef = super.visitDef(ctx);
  _deps[ctx.idType()!.text] = _dep!;
  _dep = null;
  return visitDef;
}