1
0
mirror of https://github.com/golang/go synced 2024-11-26 16:57:14 -07:00
go/usr/gri/gosrc/ast.go
Robert Griesemer 5a90ede8a4 - scanner returns now triple (tok, tok_pos, tok_val)
- initial try-out of AST data structures
- removed test_parser (not working anymore - parser needs more infrastructure)

SVN=128089
2008-07-18 17:18:29 -07:00

23 lines
358 B
Go

// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package AST
import Globals "globals"
import Universe "universe"
export Expr
type Expr struct {
typ *Globals.Type;
op int;
x, y *Expr;
}
export Stat
type Stat struct {
// To be completed
}