Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1ebd49b

Browse files
committed
remove location from "mapping i" print node
1 parent 3e2d266 commit 1ebd49b

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

javascript/ql/src/semmle/javascript/PrintAst.qll

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -587,8 +587,6 @@ module PrintYAML {
587587
index = i
588588
}
589589

590-
override Location getLocation() { result = mapping.getKeyNode(i).getLocation() }
591-
592590
override PrintAstNode getChild(int childIndex) {
593591
childIndex = 0 and result.(YAMLNodeNode).getValue() = mapping.getKeyNode(i)
594592
or

0 commit comments

Comments
 (0)