In writing a compiler grammar, I'm trying to come up with a name/label for a set of elements that include pretty much everything with an ident in it: method, field, local var and function
I thought "members" first, but vars and functions aren't class members. Any ideas?
EDIT: This is higher up than an identifier. Here's how it's used:
memberReference
:
IDENT
| functionCall
;
// Then elsewhere
memberReference ('.' memberReference)*