@Test public void testResolveUnion() { assertThat( new ParboiledNodeSpecifier( new UnionNodeAstNode(new NameNodeAstNode("node1"), new NameNodeAstNode("node2"))) .resolve(_ctxt), equalTo(ImmutableSet.of("node1", "node2"))); }
@Override public Set<String> resolve(SpecifierContext ctxt) { return _ast.accept(new NodeAstNodeToNodes(ctxt)); }
ParboiledNodeSpecifier implements NodeSpecifier { @Override public Set<String> resolve(SpecifierContext ctxt) { return _ast.accept(new NodeAstNodeToNodes(ctxt)); } }
ParboiledNodeSpecifier implements NodeSpecifier { @Override public Set<String> resolve(SpecifierContext ctxt) { return _ast.accept(new NodeAstNodeToNodes(ctxt)); } ParboiledNodeSpecifier(NodeAstNode ast); }
ParboiledNodeSpecifier implements NodeSpecifier { @Override public Set<String> resolve(SpecifierContext ctxt) { return _ast.accept(new NodeAstNodeToNodes(ctxt)); } ParboiledNodeSpecifier(NodeAstNode ast); static ParboiledNodeSpecifier parse(String input); @Override boolean equals(Object o); @Override int hashCode(); @Override Set<String> resolve(SpecifierContext ctxt); }
ParboiledNodeSpecifier implements NodeSpecifier { @Override public Set<String> resolve(SpecifierContext ctxt) { return _ast.accept(new NodeAstNodeToNodes(ctxt)); } ParboiledNodeSpecifier(NodeAstNode ast); static ParboiledNodeSpecifier parse(String input); @Override boolean equals(Object o); @Override int hashCode(); @Override Set<String> resolve(SpecifierContext ctxt);  }