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 {
25072507 deprecated class YAMLNode = YamlNode ;
25082508
25092509 /** A YAML comment. */
2510- class YamlComment extends TYamlCommemt , YamlNode {
2510+ class YamlComment extends TYamlComment , YamlNode {
25112511 Yaml:: Comment yamlcomment ;
25122512
2513- YamlComment ( ) { this = TYamlCommemt ( yamlcomment ) }
2513+ YamlComment ( ) { this = TYamlComment ( yamlcomment ) }
25142514
25152515 override string getAPrimaryQlClass ( ) { result = "YamlComment" }
25162516 }
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ newtype TAstNode =
6060 TPredicateExpr ( QL:: PredicateExpr pe ) or
6161 TAnnotation ( QL:: Annotation annot ) or
6262 TAnnotationArg ( QL:: AnnotArg arg ) or
63- TYamlCommemt ( Yaml:: Comment yc ) or
63+ TYamlComment ( Yaml:: Comment yc ) or
6464 TYamlEntry ( Yaml:: Entry ye ) or
6565 TYamlKey ( Yaml:: Key yk ) or
6666 TYamlListitem ( Yaml:: Listitem yli ) or
@@ -86,7 +86,7 @@ class TCall = TPredicateCall or TMemberCall or TNoneCall or TAnyCall;
8686
8787class TTypeRef = TImport or TModuleExpr or TType ;
8888
89- class TYamlNode = TYamlCommemt or TYamlEntry or TYamlKey or TYamlListitem or TYamlValue ;
89+ class TYamlNode = TYamlComment or TYamlEntry or TYamlKey or TYamlListitem or TYamlValue ;
9090
9191class TSignatureExpr = TPredicateExpr or TType or TModuleExpr ;
9292
@@ -125,7 +125,7 @@ private QL::AstNode toQLExpr(AST::AstNode n) {
125125}
126126
127127Yaml:: AstNode toGenerateYaml ( AST:: AstNode n ) {
128- n = TYamlCommemt ( result ) or
128+ n = TYamlComment ( result ) or
129129 n = TYamlEntry ( result ) or
130130 n = TYamlKey ( result ) or
131131 n = TYamlListitem ( result ) or
You can’t perform that action at this time.
0 commit comments