Ejemplo n.º 1
0
 private void addUnary(UnaryRule unaryRule) {
   CollectionUtils.addToValueList(unaryRulesByChild, unaryRule.getChild(), unaryRule);
 }
Ejemplo n.º 2
0
 private void addBinary(BinaryRule binaryRule) {
   CollectionUtils.addToValueList(binaryRulesByLeftChild, binaryRule.getLeftChild(), binaryRule);
   CollectionUtils.addToValueList(
       binaryRulesByRightChild, binaryRule.getRightChild(), binaryRule);
 }