visitDeclaration method

  1. @override
void visitDeclaration(
  1. Declaration node
)
override

Implementation

@override
void visitDeclaration(Declaration node) {
  if (_parentRuleSet != null) {
    _flatDeclarationGroup!.declarations.add(node);
  }
  super.visitDeclaration(node);
}