Python 3 interpreter in Go
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
package ast
|
|
|
|
|
|
type ExpressionContext interface {
|
|
|
Node
|
|
|
exprCtx()
|
|
|
}
|
|
|
|
|
|
type Store struct{}
|
|
|
|
|
|
func NewStore() *Store {
|
|
|
return &Store{}
|
|
|
}
|
|
|
|
|
|
func (store *Store) node() {}
|
|
|
func (store *Store) exprCtx() {}
|
|
|
func (store *Store) String() string { return "Store()" }
|
|
|
|
|
|
type Load struct{}
|
|
|
|
|
|
func NewLoad() *Load {
|
|
|
return &Load{}
|
|
|
}
|
|
|
|
|
|
func (load *Load) node() {}
|
|
|
func (load *Load) exprCtx() {}
|
|
|
func (load *Load) String() string { return "Load()" }
|