MCPcopy Create free account
hub / github.com/Achain-Dev/Achain / MakeBlockStatement

Function MakeBlockStatement

src/Chain/libraries/glua/glua_statement.cpp:65–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63 }
64
65 AstStatement* MakeBlockStatement(StatementType type, std::string code) {
66 AstStatement* stmt = MakeStatement(type, code);
67 stmt->sub = NewList();
68 return stmt;
69 }
70
71 AstStatement* MakeIfStatement(std::string test) {
72 AstStatement* ifstmt = MakeBlockStatement(IF_STMT, test);

Callers 4

MakeIfStatementFunction · 0.85
NewLoopItemFunction · 0.85
RawAddAstStatementFunction · 0.85
ProcessCodeFunction · 0.85

Calls 2

MakeStatementFunction · 0.85
NewListFunction · 0.85

Tested by

no test coverage detected