mirror of
https://github.com/github/codeql.git
synced 2026-04-26 09:15:12 +02:00
Remove file column from tokeninfo tables.
This commit is contained in:
@@ -34,10 +34,10 @@ module Ruby {
|
||||
/** A token. */
|
||||
class Token extends @ruby_token, AstNode {
|
||||
/** Gets the value of this token. */
|
||||
string getValue() { ruby_tokeninfo(this, _, _, result, _) }
|
||||
string getValue() { ruby_tokeninfo(this, _, result, _) }
|
||||
|
||||
/** Gets the location of this token. */
|
||||
override Location getLocation() { ruby_tokeninfo(this, _, _, _, result) }
|
||||
override Location getLocation() { ruby_tokeninfo(this, _, _, result) }
|
||||
|
||||
/** Gets a string representation of this element. */
|
||||
override string toString() { result = getValue() }
|
||||
@@ -1875,10 +1875,10 @@ module Erb {
|
||||
/** A token. */
|
||||
class Token extends @erb_token, AstNode {
|
||||
/** Gets the value of this token. */
|
||||
string getValue() { erb_tokeninfo(this, _, _, result, _) }
|
||||
string getValue() { erb_tokeninfo(this, _, result, _) }
|
||||
|
||||
/** Gets the location of this token. */
|
||||
override Location getLocation() { erb_tokeninfo(this, _, _, _, result) }
|
||||
override Location getLocation() { erb_tokeninfo(this, _, _, result) }
|
||||
|
||||
/** Gets a string representation of this element. */
|
||||
override string toString() { result = getValue() }
|
||||
|
||||
@@ -1205,7 +1205,6 @@ ruby_yield_def(
|
||||
ruby_tokeninfo(
|
||||
unique int id: @ruby_token,
|
||||
int kind: int ref,
|
||||
int file: @file ref,
|
||||
string value: string ref,
|
||||
int loc: @location ref
|
||||
);
|
||||
@@ -1292,7 +1291,6 @@ erb_template_def(
|
||||
erb_tokeninfo(
|
||||
unique int id: @erb_token,
|
||||
int kind: int ref,
|
||||
int file: @file ref,
|
||||
string value: string ref,
|
||||
int loc: @location ref
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user