Skip to content

Commit 77277a9

Browse files
committed
rename YAMLValue to YamlValue
1 parent ad09386 commit 77277a9

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

ql/ql/src/codeql_ql/ast/Ast.qll

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2488,7 +2488,7 @@ module YAML {
24882488
YamlListItem getListItem() { toGenerateYaml(result).getParent() = yamle }
24892489

24902490
/** Gets the value of this YAML entry. */
2491-
YAMLValue getValue() {
2491+
YamlValue getValue() {
24922492
exists(Yaml::Keyvaluepair pair |
24932493
pair.getParent() = yamle and
24942494
result = TYamlValue(pair.getValue())
@@ -2510,7 +2510,7 @@ module YAML {
25102510
/**
25112511
* Gets the value of this YAML key.
25122512
*/
2513-
YAMLValue getValue() {
2513+
YamlValue getValue() {
25142514
exists(Yaml::Keyvaluepair pair |
25152515
pair.getKey() = yamlkey and result = TYamlValue(pair.getValue())
25162516
)
@@ -2549,7 +2549,7 @@ module YAML {
25492549
/**
25502550
* Gets the value of this YAML list item.
25512551
*/
2552-
YAMLValue getValue() { result = TYamlValue(yamllistitem.getChild()) }
2552+
YamlValue getValue() { result = TYamlValue(yamllistitem.getChild()) }
25532553

25542554
override string getAPrimaryQlClass() { result = "YamlListItem" }
25552555
}
@@ -2558,12 +2558,12 @@ module YAML {
25582558
deprecated class YAMLListItem = YamlListItem;
25592559

25602560
/** A YAML value. */
2561-
class YAMLValue extends TYamlValue, YAMLNode {
2561+
class YamlValue extends TYamlValue, YAMLNode {
25622562
Yaml::Value yamlvalue;
25632563

2564-
YAMLValue() { this = TYamlValue(yamlvalue) }
2564+
YamlValue() { this = TYamlValue(yamlvalue) }
25652565

2566-
override string getAPrimaryQlClass() { result = "YAMLValue" }
2566+
override string getAPrimaryQlClass() { result = "YamlValue" }
25672567

25682568
/** Gets the value of this YAML value. */
25692569
string getValue() { result = yamlvalue.getValue() }

0 commit comments

Comments
 (0)