1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> 3<head> 4<meta http-equiv="content-type" content="text/html;charset=utf-8" /> 5<title>t027eof</title> 6 7<!-- ANTLR includes --> 8<script type="text/javascript" src="../../lib/antlr3-all.js"></script> 9<script type="text/javascript" src="t027eof.js"></script> 10 11<!-- JsUnit include --> 12<script type="text/javascript" src="../jsunit/app/jsUnitCore.js"></script> 13 14<!-- Test Code --> 15<script type="text/javascript"> 16 function testValid1() { 17 var stream = new org.antlr.runtime.ANTLRStringStream(" \u0000"), 18 lexer = new t027eof(stream), 19 token; 20 21 token = lexer.nextToken(); 22 assertEquals(token.getType(), lexer.SPACE); 23 24 token = lexer.nextToken(); 25 assertEquals(token.getType(), lexer.END); 26 } 27</script> 28 29</head> 30<body> 31 <h1>t027eof</h1> 32</body> 33</html> 34