MCPcopy Create free account
hub / github.com/c9s/c6 / accept

Method accept

parser/parser.go:118–125  ·  view source on GitHub ↗

accept() accepts one token type one time. rolls back if the token type mismatch

(tokenType ast.TokenType)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

ParseConditionMethod · 0.95
ParseLogicExprMethod · 0.95
ParseLogicANDExprMethod · 0.95
ParseComparisonExprMethod · 0.95
ParseSelectorListMethod · 0.95
ParseKeywordArgumentsMethod · 0.95
ParseFunctionCallMethod · 0.95
ParseMapMethod · 0.95
ParseStringMethod · 0.95
ParseValueStrictMethod · 0.95
ParseLiteralExprMethod · 0.95
ParseCommaSepListMethod · 0.95

Calls 2

nextMethod · 0.95
backupMethod · 0.95

Tested by

no test coverage detected