Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
160
func
(re RuleEl) IsToken() bool {
161
return
re.Rule == nil
162
}
163
164
// RuleList is a list (slice) of rule elements
165
type
RuleList []RuleEl
Callers
5
CompileTokMap
Method · 0.80
CompileExcl
Method · 0.80
Validate
Method · 0.80
MatchMixed
Method · 0.80
DoRules
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected