MCPcopy Index your code
hub / github.com/bazelbuild/bazel / getStartLocation

Method getStartLocation

src/main/java/net/starlark/java/syntax/Node.java:80–82  ·  view source on GitHub ↗

Returns the location of the start of this syntax node.

()

Source from the content-addressed store, hash-verified

78
79 /** Returns the location of the start of this syntax node. */
80 public final Location getStartLocation() {
81 return locs.getLocation(getStartOffset());
82 }
83
84 /** Returns the char offset of the source position immediately after this syntax node. */
85 public abstract int getEndOffset();

Callers 15

toStringMethod · 0.45
inScopeMethod · 0.45
errorfMethod · 0.45
visitMethod · 0.45
resolveFileMethod · 0.45
resolveExprMethod · 0.45
docCommentsMethod · 0.45
parseSmallStatementMethod · 0.45
execStatementsMethod · 0.45
execForMethod · 0.45
execLoadMethod · 0.45

Calls 2

getStartOffsetMethod · 0.95
getLocationMethod · 0.65

Tested by 1