MCPcopy Index your code
hub / github.com/beanshell/beanshell / closeNodeScope

Method closeNodeScope

src/bsh/JJTParserState.java:113–123  ·  view source on GitHub ↗
(Node n, int num)

Source from the content-addressed store, hash-verified

111 made the children of the definite node. Then the definite node
112 is pushed on to the stack. */
113 void closeNodeScope(Node n, int num) {
114 mk = ((Integer)marks.pop()).intValue();
115 while (num-- > 0) {
116 Node c = popNode();
117 c.jjtSetParent(n);
118 n.jjtAddChild(c, num);
119 }
120 n.jjtClose();
121 pushNode(n);
122 node_created = true;
123 }
124
125
126 /* A conditional node is constructed if its condition is true. All

Callers 15

ClassDeclarationMethod · 0.80
MethodDeclarationMethod · 0.80
PackageDeclarationMethod · 0.80
ImportDeclarationMethod · 0.80
VariableDeclaratorMethod · 0.80
ArrayInitializerMethod · 0.80
FormalParametersMethod · 0.80
FormalParameterMethod · 0.80
TypeMethod · 0.80
ReturnTypeMethod · 0.80
PrimitiveTypeMethod · 0.80
AmbiguousNameMethod · 0.80

Calls 8

popNodeMethod · 0.95
jjtSetParentMethod · 0.95
pushNodeMethod · 0.95
nodeArityMethod · 0.95
intValueMethod · 0.80
popMethod · 0.80
jjtAddChildMethod · 0.65
jjtCloseMethod · 0.65

Tested by

no test coverage detected