visitIdentifierExpr method

  1. @override
void visitIdentifierExpr(
  1. IdentifierExpr node
)
override

Implementation

@override
void visitIdentifierExpr(IdentifierExpr node) {
  try {
    if (node.isLocal) {
      // Symbol of current namespace.
      node.analysisNamespace!.memberGet(node.id,
          isPrivate: _lexicon.isPrivate(node.id),
          from: node.analysisNamespace!.fullName,
          isRecursive: true);
    } else {
      // Member id of an object.
    }
  } on HTError catch (err) {
    errors.add(HTAnalysisError.fromError(
      err,
      filename: node.source!.fullName,
      line: node.line,
      column: node.column,
      offset: node.offset,
      length: node.length,
    ));
  }
}