2019-01-09 10:17:42 +03:00
|
|
|
package parser
|
|
|
|
|
2019-01-11 13:27:28 +03:00
|
|
|
import "github.com/d5/tengo/compiler/token"
|
2019-01-09 10:17:42 +03:00
|
|
|
|
|
|
|
var stmtStart = map[token.Token]bool{
|
|
|
|
token.Break: true,
|
|
|
|
token.Continue: true,
|
|
|
|
token.For: true,
|
|
|
|
token.If: true,
|
|
|
|
token.Return: true,
|
2019-02-02 10:27:29 +03:00
|
|
|
token.Export: true,
|
2019-01-09 10:17:42 +03:00
|
|
|
}
|