@Test public void nested_label() throws InvalidSmilesException { Graph g = Parser.parse("CCCCCCC=CCCCCCCCC=CC(=O)[a holo-[acyl-carrier protein]]"); assertThat(g.atom(g.order() - 1).label(), is("a holo-[acyl-carrier protein]")); }
static Graph parse(String str) throws InvalidSmilesException { return new Parser(str).molecule(); }
Parser { static Graph parse(String str) throws InvalidSmilesException { return new Parser(str).molecule(); } }
Parser { static Graph parse(String str) throws InvalidSmilesException { return new Parser(str).molecule(); } Parser(CharBuffer buffer, boolean strict);   Parser(String str); }
Parser { static Graph parse(String str) throws InvalidSmilesException { return new Parser(str).molecule(); } Parser(CharBuffer buffer, boolean strict);   Parser(String str); List<Edge> getEdges(LocalArrangement localArrangement, int u); int[] getAlleneCarriers(int focus); Collection<? extends String> getWarnings(); }
Parser { static Graph parse(String str) throws InvalidSmilesException { return new Parser(str).molecule(); } Parser(CharBuffer buffer, boolean strict);   Parser(String str); List<Edge> getEdges(LocalArrangement localArrangement, int u); int[] getAlleneCarriers(int focus); Collection<? extends String> getWarnings();  }