aboutsummaryrefslogtreecommitdiff
path: root/runtime/JavaScript/tests/functional/t029synpredgate.html
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/JavaScript/tests/functional/t029synpredgate.html')
-rwxr-xr-xruntime/JavaScript/tests/functional/t029synpredgate.html29
1 files changed, 29 insertions, 0 deletions
diff --git a/runtime/JavaScript/tests/functional/t029synpredgate.html b/runtime/JavaScript/tests/functional/t029synpredgate.html
new file mode 100755
index 0000000..0f316c4
--- /dev/null
+++ b/runtime/JavaScript/tests/functional/t029synpredgate.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="content-type" content="text/html;charset=utf-8" />
+<title>t029synpredgate</title>
+
+<!-- ANTLR includes -->
+<script type="text/javascript" src="../../lib/antlr3-all.js"></script>
+<script type="text/javascript" src="t029synpredgate.js"></script>
+
+<!-- JsUnit include -->
+<script type="text/javascript" src="../jsunit/app/jsUnitCore.js"></script>
+
+<!-- Test Code -->
+<script type="text/javascript">
+ function testValid1() {
+ var stream = new org.antlr.runtime.ANTLRStringStream("ac"),
+ lexer = new t029synpredgate(stream),
+ token;
+
+ token = lexer.nextToken();
+ }
+</script>
+
+</head>
+<body>
+ <h1>t029synpredgate</h1>
+</body>
+</html>