MCPcopy Create free account
hub / github.com/mozilla/rhino / function

Method function

rhino/src/main/java/org/mozilla/javascript/Parser.java:995–997  ·  view source on GitHub ↗
(int type)

Source from the content-addressed store, hash-verified

993 }
994
995 private FunctionNode function(int type) throws IOException {
996 return function(type, false);
997 }
998
999 private FunctionNode function(int type, boolean isMethodDefiniton) throws IOException {
1000 boolean isGenerator = false;

Callers 5

parseMethod · 0.95
parseFunctionBodyMethod · 0.95
statementHelperMethod · 0.95
primaryExprMethod · 0.95
methodDefinitionMethod · 0.95

Calls 15

lineNumberMethod · 0.95
columnNumberMethod · 0.95
matchTokenMethod · 0.95
createNameNodeMethod · 0.95
getIdentifierMethod · 0.95
reportErrorMethod · 0.95
memberExprTailMethod · 0.95
mustMatchTokenMethod · 0.95
memberExprMethod · 0.95
lengthMethod · 0.95
defineSymbolMethod · 0.95
setFunctionTypeMethod · 0.95

Tested by

no test coverage detected