MCPcopy
hub / github.com/bazelbuild/bazel / error

Method error

src/main/java/net/starlark/java/syntax/Lexer.java:151–153  ·  view source on GitHub ↗
(String message, int pos)

Source from the content-addressed store, hash-verified

149 }
150
151 private void error(String message, int pos) {
152 errors.add(new SyntaxError(locs.getLocation(pos), message));
153 }
154
155 private void setToken(TokenKind kind, int start, int end) {
156 this.kind = kind;

Callers 6

popParenMethod · 0.95
computeIndentationMethod · 0.95
escapedStringLiteralMethod · 0.95
stringLiteralMethod · 0.95
tokenizeMethod · 0.95

Calls 2

getLocationMethod · 0.65
addMethod · 0.45

Tested by

no test coverage detected