public class ParseTreeProperty<V>
extends java.lang.Object
ParseTreeProperty<Integer> values = new ParseTreeProperty<Integer>(); values.put(tree, 36); int x = values.get(tree); values.removeFrom(tree);You would make one decl (values here) in the listener and use lots of times in your event methods.
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map<ParseTree,V> |
annotations |
| Constructor and Description |
|---|
ParseTreeProperty() |