Find an assignment to the name property for the given grammar type. This requires the type to be inferred from a parser rule, and that rule must contain an assignment to the name property. In all other cases, this function returns undefined.
name
type
undefined
Find an assignment to the
nameproperty for the given grammar type. This requires thetypeto be inferred from a parser rule, and that rule must contain an assignment to thenameproperty. In all other cases, this function returnsundefined.