MCPcopy Create free account
hub / github.com/cogentcore/core / IsToken

Method IsToken

parse/parser/rule.go:160–162  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

158}
159
160func (re RuleEl) IsToken() bool {
161 return re.Rule == nil
162}
163
164// RuleList is a list (slice) of rule elements
165type RuleList []RuleEl

Callers 5

CompileTokMapMethod · 0.80
CompileExclMethod · 0.80
ValidateMethod · 0.80
MatchMixedMethod · 0.80
DoRulesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected