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

Method getColumn

rhino/src/main/java/org/mozilla/javascript/Node.java:1279–1281  ·  view source on GitHub ↗

@return the column of where a Node is defined in source. If the column is -1, it was never initialized. One-based. May be overridden by sub classes

()

Source from the content-addressed store, hash-verified

1277 * <p>May be overridden by sub classes
1278 */
1279 public int getColumn() {
1280 return column;
1281 }
1282
1283 protected int type = Token.ERROR; // type of the node, e.g. Token.NAME
1284 protected Node next; // next sibling

Callers 15

transformFunctionMethod · 0.95
createTryCatchFinallyMethod · 0.95
createIfMethod · 0.95
transformArrayCompMethod · 0.45
transformExprStmtMethod · 0.45
transformFunctionCallMethod · 0.45
transformGenExprMethod · 0.45
transformIfMethod · 0.45
transformInfixMethod · 0.45

Calls

no outgoing calls

Tested by 2

assertLineColumnAreMethod · 0.36
assertLineColumnAreMethod · 0.36