referenceMap property

  1. @TagNumber.new(2)
PbMap<Int64, Reference> get referenceMap

A map from expression ids to resolved references.

The following entries are in this table:

  • An Ident or Select expression is represented here if it resolves to a declaration. For instance, if a.b.c is represented by select(select(id(a), b), c), and a.b resolves to a declaration, while c is a field selection, then the reference is attached to the nested select expression (but not to the id or or the outer select). In turn, if a resolves to a declaration and b.c are field selections, the reference is attached to the ident expression.
  • Every Call expression has an entry here, identifying the function being called.
  • Every CreateStruct expression for a message has an entry, identifying the message.

Implementation

@$pb.TagNumber(2)
$pb.PbMap<$fixnum.Int64, Reference> get referenceMap => $_getMap(0);