term.go: added two new priorities (priIterValue and priPrePost); new function term.symbol())
This commit is contained in:
parent
323308d86f
commit
268a968548
6
term.go
6
term.go
@ -23,7 +23,9 @@ const (
|
||||
priSelector
|
||||
priSign
|
||||
priFact
|
||||
priIterValue
|
||||
priCoalesce
|
||||
priPrePost
|
||||
priDot
|
||||
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 {
|
||||
return self.tk.source
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user