class and kind types removed

This commit is contained in:
2024-04-09 05:32:50 +02:00
parent 9ac88bf446
commit 4d94a7ad59
18 changed files with 56 additions and 121 deletions
+3 -5
View File
@@ -11,9 +11,9 @@ import (
// -------- function call term
func newFuncCallTerm(tk *Token, args []*term) *term {
return &term{
tk: *tk,
class: classVar,
kind: kindUnknown,
tk: *tk,
// class: classVar,
// kind: kindUnknown,
parent: nil,
children: args,
position: posLeaf,
@@ -71,8 +71,6 @@ func exportFunc(ctx ExprContext, name string, info ExprFunc) {
func newFuncDefTerm(tk *Token, args []*term) *term {
return &term{
tk: *tk,
class: classVar,
kind: kindUnknown,
parent: nil,
children: args, // arg[0]=formal-param-list, arg[1]=*ast
position: posLeaf,