summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/d5/tengo/compiler/parser/sync.go
blob: e68d623ad28c3c51adb1d077a8de6e6d1702c082 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
package parser

import "github.com/d5/tengo/compiler/token"

var stmtStart = map[token.Token]bool{
	token.Break:    true,
	token.Continue: true,
	token.For:      true,
	token.If:       true,
	token.Return:   true,
	token.Export:   true,
}