mirror of
https://github.com/cwinfo/matterbridge.git
synced 2025-07-06 22:24:06 +00:00
Update to tengo v2 (#976)
This commit is contained in:
12
vendor/github.com/d5/tengo/v2/parser/pos.go
generated
vendored
Normal file
12
vendor/github.com/d5/tengo/v2/parser/pos.go
generated
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
package parser
|
||||
|
||||
// Pos represents a position in the file set.
|
||||
type Pos int
|
||||
|
||||
// NoPos represents an invalid position.
|
||||
const NoPos Pos = 0
|
||||
|
||||
// IsValid returns true if the position is valid.
|
||||
func (p Pos) IsValid() bool {
|
||||
return p != NoPos
|
||||
}
|
Reference in New Issue
Block a user