Skip to content

Commit ec24b25

Browse files
committed
Ruby: fix location in model editor query
1 parent e6df264 commit ec24b25

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ruby/ql/src/utils/modeleditor/ModelEditor.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ abstract class Endpoint instanceof AstNode {
4848

4949
string toString() { result = this.(AstNode).toString() }
5050

51+
Location getLocation() { result = this.(AstNode).getLocation() }
52+
5153
abstract string getType();
5254

5355
abstract string getName();

0 commit comments

Comments
 (0)