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

Method IsPathExtraDelim

shell/paths.go:106–108  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

104}
105
106func (tk *Token) IsPathExtraDelim() bool {
107 return tk.Tok == token.SUB || tk.Tok == token.ASSIGN || tk.Tok == token.REM || (tk.Tok == token.ILLEGAL && (tk.Str == "?" || tk.Str == "#"))
108}
109
110// IsWord returns true if the token is some kind of word-like entity,
111// including IDENT, STRING, CHAR, or one of the Go keywords.

Callers 1

PathMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected