MCPcopy Create free account
hub / github.com/cimplec/sim-c / while_statement

Function while_statement

simc/parser/loop_parser.py:107–186  ·  view source on GitHub ↗

Parse while statement Params ====== tokens (list) = List of tokens i (int) = Current index in token table (SymbolTable) = Symbol table constructed holding information about identifiers and constants in_do (bool) = While is

(tokens, i, table, in_do, func_ret_type)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

parseFunction · 0.85

Calls 5

check_ifFunction · 0.85
expressionFunction · 0.85
skip_all_nextlinesFunction · 0.85
errorFunction · 0.85
OpCodeClass · 0.85

Tested by

no test coverage detected