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

Function case_statement

simc/parser/conditional_parser.py:134–170  ·  view source on GitHub ↗

Parse case statement Params ====== tokens (list) = List of tokens i (int) = Current index in token table (SymbolTable) = Symbol table constructed holding information about identifiers and constants func_ret_type (dict) =

(tokens, i, table, 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 3

expressionFunction · 0.85
check_ifFunction · 0.85
OpCodeClass · 0.85

Tested by

no test coverage detected