MCPcopy
hub / github.com/digitalbazaar/jsonld.js / error

Function error

tests/webidl/WebIDLParser.js:52–61  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

50 OTHER = "other";
51
52 var error = function(str) {
53 var tok = "";
54 var numTokens = 0;
55 var maxTokens = 5;
56 while (numTokens < maxTokens && tokens.length > numTokens) {
57 tok += tokens[numTokens].value;
58 numTokens++;
59 }
60 throw new WebIDLParseError(str, line, tok, tokens.slice(0, 5));
61 };
62
63 var last_token = null;
64

Callers 15

integer_typeFunction · 0.85
float_typeFunction · 0.85
type_suffixFunction · 0.85
single_typeFunction · 0.85
union_typeFunction · 0.85
argument_listFunction · 0.85
simple_extended_attrFunction · 0.85
extended_attrsFunction · 0.85
default_Function · 0.85
const_Function · 0.85
inheritanceFunction · 0.85
operation_restFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected