mirror of
https://github.com/akyaiy/GoSally-mvp.git
synced 2026-01-09 18:32:25 +00:00
Project structure refactor:
- Change package name general_server to gateway - Changing the structure of directories and packages - Adding vendor to the project
This commit is contained in:
29
vendor/github.com/yuin/gopher-lua/ast/ast.go
generated
vendored
Normal file
29
vendor/github.com/yuin/gopher-lua/ast/ast.go
generated
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
package ast
|
||||
|
||||
type PositionHolder interface {
|
||||
Line() int
|
||||
SetLine(int)
|
||||
LastLine() int
|
||||
SetLastLine(int)
|
||||
}
|
||||
|
||||
type Node struct {
|
||||
line int
|
||||
lastline int
|
||||
}
|
||||
|
||||
func (self *Node) Line() int {
|
||||
return self.line
|
||||
}
|
||||
|
||||
func (self *Node) SetLine(line int) {
|
||||
self.line = line
|
||||
}
|
||||
|
||||
func (self *Node) LastLine() int {
|
||||
return self.lastline
|
||||
}
|
||||
|
||||
func (self *Node) SetLastLine(line int) {
|
||||
self.lastline = line
|
||||
}
|
||||
Reference in New Issue
Block a user