term.go: added two new priorities (priIterValue and priPrePost); new function term.symbol())
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user