MCPcopy Create free account
hub / github.com/SeaOfNodes/Simple / Parser

Method Parser

chapter10/src/main/java/com/seaofnodes/simple/Parser.java:76–85  ·  view source on GitHub ↗
(String source, TypeInteger arg)

Source from the content-addressed store, hash-verified

74 * a list of all active ScopeNodes for purposes of visualization of the SoN graph
75 */
76 public final Stack<ScopeNode> _xScopes = new Stack<>();
77
78 ScopeNode _continueScope;
79 ScopeNode _breakScope;
80
81 // Mapping from a Struct name to a Struct.
82 public static Map<String, TypeStruct> OBJS = new HashMap<>();
83
84 public Parser(String source, TypeInteger arg) {
85 PARSER = this;
86 Node.reset();
87 IterPeeps.reset();
88 OBJS.clear();

Callers

nothing calls this directly

Calls 3

resetMethod · 0.95
resetMethod · 0.95
clearMethod · 0.45

Tested by

no test coverage detected