mirror of
https://github.com/cwinfo/matterbridge.git
synced 2024-11-25 15:41:37 +00:00
14 lines
377 B
Go
14 lines
377 B
Go
|
package ast
|
||
|
|
||
|
import "github.com/d5/tengo/compiler/source"
|
||
|
|
||
|
// Node represents a node in the AST.
|
||
|
type Node interface {
|
||
|
// Pos returns the position of first character belonging to the node.
|
||
|
Pos() source.Pos
|
||
|
// End returns the position of first character immediately after the node.
|
||
|
End() source.Pos
|
||
|
// String returns a string representation of the node.
|
||
|
String() string
|
||
|
}
|