@Test public void string() throws Exception { assertLiteral("\"\""); assertLiteral("\"\\\"\""); assertLiteral("\"\\\\\""); assertLiteral("\"\\/\""); assertLiteral("\"\\b\""); assertLiteral("\"\\f\""); assertLiteral("\"\\n\""); assertLiteral("\"\\r\""); assertLiteral("\"\\t\""); assertLiteral("\"\\uFFFF\""); assertLiteral("\"string\""); }
public LiteralTree STRING() { return b.<LiteralTree>nonterminal().is( f.string(b.token(JsonLexer.STRING))); }
JsonGrammar { public LiteralTree STRING() { return b.<LiteralTree>nonterminal().is( f.string(b.token(JsonLexer.STRING))); } }
JsonGrammar { public LiteralTree STRING() { return b.<LiteralTree>nonterminal().is( f.string(b.token(JsonLexer.STRING))); } JsonGrammar(GrammarBuilder<InternalSyntaxToken> b, TreeFactory f); }
JsonGrammar { public LiteralTree STRING() { return b.<LiteralTree>nonterminal().is( f.string(b.token(JsonLexer.STRING))); } JsonGrammar(GrammarBuilder<InternalSyntaxToken> b, TreeFactory f); JsonTree JSON(); ObjectTree OBJECT(); SyntaxList<PairTree> PAIR_LIST(); PairTree PAIR(); ArrayTree ARRAY(); SyntaxList<ValueTree> VALUE_LIST(); ValueTree VALUE(); LiteralTree STRING(); LiteralTree NUMBER(); BuiltInValueTree BUILT_IN_VALUE(); }
JsonGrammar { public LiteralTree STRING() { return b.<LiteralTree>nonterminal().is( f.string(b.token(JsonLexer.STRING))); } JsonGrammar(GrammarBuilder<InternalSyntaxToken> b, TreeFactory f); JsonTree JSON(); ObjectTree OBJECT(); SyntaxList<PairTree> PAIR_LIST(); PairTree PAIR(); ArrayTree ARRAY(); SyntaxList<ValueTree> VALUE_LIST(); ValueTree VALUE(); LiteralTree STRING(); LiteralTree NUMBER(); BuiltInValueTree BUILT_IN_VALUE();  }