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.
 

17 lines
318 B

package ast
type SimpleStatement struct {
ListNode
}
func NewSimpleStatement() *SimpleStatement {
node := &SimpleStatement{}
node.initBaseNode(SIMPLE_STMT)
return node
}
func (node *SimpleStatement) StatementNode() {}
func (node *SimpleStatement) AppendNode(n *SmallStatement) {
node.ListNode.AppendNode(n)
}