File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -2507,10 +2507,10 @@ module YAML {
2507
2507
deprecated class YAMLNode = YamlNode ;
2508
2508
2509
2509
/** A YAML comment. */
2510
- class YamlComment extends TYamlCommemt , YamlNode {
2510
+ class YamlComment extends TYamlComment , YamlNode {
2511
2511
Yaml:: Comment yamlcomment ;
2512
2512
2513
- YamlComment ( ) { this = TYamlCommemt ( yamlcomment ) }
2513
+ YamlComment ( ) { this = TYamlComment ( yamlcomment ) }
2514
2514
2515
2515
override string getAPrimaryQlClass ( ) { result = "YamlComment" }
2516
2516
}
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ newtype TAstNode =
60
60
TPredicateExpr ( QL:: PredicateExpr pe ) or
61
61
TAnnotation ( QL:: Annotation annot ) or
62
62
TAnnotationArg ( QL:: AnnotArg arg ) or
63
- TYamlCommemt ( Yaml:: Comment yc ) or
63
+ TYamlComment ( Yaml:: Comment yc ) or
64
64
TYamlEntry ( Yaml:: Entry ye ) or
65
65
TYamlKey ( Yaml:: Key yk ) or
66
66
TYamlListitem ( Yaml:: Listitem yli ) or
@@ -86,7 +86,7 @@ class TCall = TPredicateCall or TMemberCall or TNoneCall or TAnyCall;
86
86
87
87
class TTypeRef = TImport or TModuleExpr or TType ;
88
88
89
- class TYamlNode = TYamlCommemt or TYamlEntry or TYamlKey or TYamlListitem or TYamlValue ;
89
+ class TYamlNode = TYamlComment or TYamlEntry or TYamlKey or TYamlListitem or TYamlValue ;
90
90
91
91
class TSignatureExpr = TPredicateExpr or TType or TModuleExpr ;
92
92
@@ -125,7 +125,7 @@ private QL::AstNode toQLExpr(AST::AstNode n) {
125
125
}
126
126
127
127
Yaml:: AstNode toGenerateYaml ( AST:: AstNode n ) {
128
- n = TYamlCommemt ( result ) or
128
+ n = TYamlComment ( result ) or
129
129
n = TYamlEntry ( result ) or
130
130
n = TYamlKey ( result ) or
131
131
n = TYamlListitem ( result ) or
You can’t perform that action at this time.
0 commit comments