makeNode method

TargetNode makeNode(
  1. TargetNode? parent,
  2. Accessor step,
  3. Match? match
)

Implementation

TargetNode makeNode(TargetNode? parent, Accessor step, Match? match) {
  step.resolve(parent?.accessor.type ?? type, false);

  return TargetNode(accessor: step, parent: parent, match: match);
}