Skip to content

Commit d7f0716

Browse files
committed
Shared: Remove getLastToken again
1 parent 2c2a82a commit d7f0716

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

javascript/ql/lib/semmle/javascript/frameworks/data/internal/AccessPathSyntax.qll

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,6 @@ class AccessPath extends string instanceof AccessPath::Range {
4747
result = count(int n | exists(getRawToken(this, n))) and
4848
not this.hasSyntaxError()
4949
}
50-
51-
/** Gets the `n`th-last token, with 0 being the last token. */
52-
AccessPathToken getLastToken(int n) { result = this.getToken(this.getNumToken() - 1 - n) }
5350
}
5451

5552
/**

0 commit comments

Comments
 (0)