Each node in a syntax tree has a type, which describes its role and the information associated with it.
Check whether this type is part of a given group (via NodeProp.group).
Look up a prop on this type.