visitDeclareVarStmt method

  1. @override
Statement visitDeclareVarStmt(
  1. DeclareVarStmt stmt,
  2. void context
)
override

Implementation

@override
o.Statement visitDeclareVarStmt(o.DeclareVarStmt stmt, void context) {
  stmt.value?.visitExpression(this, null);
  if (stmt is WriteNodeReferenceStmt) scope.add(stmt.node);
  return stmt;
}