operator-fraction.go: Typer interface implementation
This commit is contained in:
parent
82ec78719d
commit
61efdb4eef
@ -204,6 +204,10 @@ func (f *fraction) ToString(opt FmtOpt) string {
|
||||
return sb.String()
|
||||
}
|
||||
|
||||
func (f *fraction) TypeName() string {
|
||||
return "fraction"
|
||||
}
|
||||
|
||||
// -------- fraction term
|
||||
func newFractionTerm(tk *Token) *term {
|
||||
return &term{
|
||||
|
Loading…
Reference in New Issue
Block a user