Searched refs:grammarStr (Results 1 – 3 of 3) sorted by relevance
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime.Tests/ |
D | ANTLRxxxxStreamFixture.cs | 54 private static readonly string grammarStr = "" field in Antlr.Runtime.Tests.ANTLRxxxxStreamFixture 67 byte[] grammarStrBuffer = encoding.GetBytes(grammarStr); in TestANTLRInputStreamConstructorDoesNotHang() 86 byte[] grammarStrBuffer = encoding.GetBytes(grammarStr); in TestSizeOnANTLRInputStream() 90 Assert.AreEqual(grammarStr.Length, inputStream.Count); in TestSizeOnANTLRInputStream() 97 byte[] grammarStrBuffer = encoding.GetBytes(grammarStr); in TestConsumeAndIndexOnANTLRInputStream() 120 byte[] grammarStrBuffer = encoding.GetBytes(grammarStr); in TestConsumeAllCharactersInAnANTLRInputStream() 305 ANTLRStringStream s2 = new ANTLRStringStream(grammarStr); in TestSizeOnANTLRStringStream() 306 Assert.AreEqual(grammarStr.Length, s2.Count); in TestSizeOnANTLRStringStream()
|
/external/antlr/tool/src/test/java/org/antlr/test/ |
D | BaseTest.java | 164 …protected boolean antlr(String fileName, String grammarFileName, String grammarStr, boolean debug)… in antlr() argument 167 writeFile(tmpdir, fileName, grammarStr); in antlr() 197 System.out.println(grammarStr); in antlr() 211 String grammarStr, in execLexer() argument 217 grammarStr, in execLexer() 236 String grammarStr, in execParser() argument 243 grammarStr, in execParser() 251 grammarStr.indexOf("output=AST")>=0 || in execParser() 252 grammarStr.indexOf("output = AST")>=0; in execParser() 254 grammarStr.indexOf("output=template")>=0 || in execParser() [all …]
|
D | TestSymbolDefinitions.java | 221 String grammarStr = in testRefToRuleWithNoReturnValue() local 226 Grammar g = new Grammar(grammarStr); in testRefToRuleWithNoReturnValue()
|