MCPcopy Create free account
hub / github.com/MauriceGit/compiler / expectType

Method expectType

parser.go:955–963  ·  view source on GitHub ↗

expectType checks the next token against a given expected type and returns the token string with corresponding line and column numbers

(ttype TokenType)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 11

parseDirectAccessFunction · 0.80
parseVariableFunction · 0.80
parseConstantFunction · 0.80
parseFunCallFunction · 0.80
parseExpressionFunction · 0.80
parseAssignmentFunction · 0.80
parseRangedLoopFunction · 0.80
parseTypeFunction · 0.80
parseArgListFunction · 0.80
parseFunctionFunction · 0.80
parseStructFunction · 0.80

Calls 2

nextMethod · 0.95
pushBackMethod · 0.95

Tested by

no test coverage detected