MCPcopy Create free account
hub / github.com/DAddYE/igo / parseSimpleStmt

Method parseSimpleStmt

parser/parser.go:1723–1799  ·  view source on GitHub ↗

parseSimpleStmt returns true as 2nd result if it parsed the assignment of a range clause (with mode == rangeOk). The returned statement is an assignment with a right-hand side that is a single unary expression of the form "range x". No guarantees are given for the left-hand side.

(mode int)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

parseIfStmtMethod · 0.95
parseSwitchStmtMethod · 0.95
parseForStmtMethod · 0.95
parseSmallStmtMethod · 0.95
parseStmtMethod · 0.95

Calls 11

parseLhsListMethod · 0.95
nextMethod · 0.95
parseRhsMethod · 0.95
parseRhsListMethod · 0.95
shortVarDeclMethod · 0.95
errorExpectedMethod · 0.95
parseStmtMethod · 0.95
declareMethod · 0.95
unFunction · 0.85
traceFunction · 0.85
PosMethod · 0.65

Tested by

no test coverage detected