term.go: added two new priorities (priIterValue and priPrePost); new function term.symbol())

This commit is contained in:
Celestino Amoroso 2024-04-26 04:23:39 +02:00
parent 323308d86f
commit 268a968548

View File

@ -23,7 +23,9 @@ const (
priSelector priSelector
priSign priSign
priFact priFact
priIterValue
priCoalesce priCoalesce
priPrePost
priDot priDot
priValue priValue
) )
@ -127,6 +129,10 @@ func (self *term) setParent(parent *term) {
} }
} }
func (self *term) symbol() Symbol {
return self.tk.Sym
}
func (self *term) source() string { func (self *term) source() string {
return self.tk.source return self.tk.source
} }