func t004lexer_test() { var input antlr3rt.CharStream input = antlr3rt.NewStringStream("ffofoo") var lexer antlr3rt.Lexer lexer = t004lexerCreate(input) var tokenStream antlr3rt.TokenStream tokenStream = antlr3rt.NewCommonTokenStream(lexer) fmt.Println(":", tokenStream.GetTokens(), ":") }
func T_test() { var input antlr3rt.CharStream input = antlr3rt.NewStringStream("A00\"ab0\"A01") var lexer antlr3rt.Lexer lexer = TCreate(input) var tokenStream antlr3rt.TokenStream tokenStream = antlr3rt.NewCommonTokenStream(lexer) fmt.Println(":", tokenStream.GetTokens(), ":") }