diff options
Diffstat (limited to 'vendor/github.com/chenzhuoyu/iasm/expr/term.go')
| -rw-r--r-- | vendor/github.com/chenzhuoyu/iasm/expr/term.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/vendor/github.com/chenzhuoyu/iasm/expr/term.go b/vendor/github.com/chenzhuoyu/iasm/expr/term.go new file mode 100644 index 000000000..110bcebdb --- /dev/null +++ b/vendor/github.com/chenzhuoyu/iasm/expr/term.go @@ -0,0 +1,7 @@ +package expr + +// Term represents a value that can Evaluate() into an integer. +type Term interface { + Free() + Evaluate() (int64, error) +} |
