@@ -1687,26 +1687,86 @@ module Generated {
16871687 override AstNode getAFieldOrChild ( ) { variable_def ( this , result , _) }
16881688 }
16891689
1690+ /** A class representing `yaml_comment` nodes. */
1691+ class YamlComment extends @yaml_comment, AstNode {
1692+ /** Gets the name of the primary QL class for this element. */
1693+ override string getAPrimaryQlClass ( ) { result = "YamlComment" }
1694+
1695+ /** Gets the location of this element. */
1696+ override Location getLocation ( ) { yaml_comment_def ( this , _, result ) }
1697+
1698+ /** Gets the child of this node. */
1699+ YamlValue getChild ( ) { yaml_comment_def ( this , result , _) }
1700+
1701+ /** Gets a field or child node of this node. */
1702+ override AstNode getAFieldOrChild ( ) { yaml_comment_def ( this , result , _) }
1703+ }
1704+
16901705 /** A class representing `yaml_entry` nodes. */
16911706 class YamlEntry extends @yaml_entry, AstNode {
16921707 /** Gets the name of the primary QL class for this element. */
16931708 override string getAPrimaryQlClass ( ) { result = "YamlEntry" }
16941709
16951710 /** Gets the location of this element. */
1696- override Location getLocation ( ) { yaml_entry_def ( this , _, _, result ) }
1711+ override Location getLocation ( ) { yaml_entry_def ( this , _, result ) }
1712+
1713+ /** Gets the child of this node. */
1714+ AstNode getChild ( ) { yaml_entry_def ( this , result , _) }
1715+
1716+ /** Gets a field or child node of this node. */
1717+ override AstNode getAFieldOrChild ( ) { yaml_entry_def ( this , result , _) }
1718+ }
1719+
1720+ /** A class representing `yaml_key` nodes. */
1721+ class YamlKey extends @yaml_key, AstNode {
1722+ /** Gets the name of the primary QL class for this element. */
1723+ override string getAPrimaryQlClass ( ) { result = "YamlKey" }
1724+
1725+ /** Gets the location of this element. */
1726+ override Location getLocation ( ) { yaml_key_def ( this , result ) }
1727+
1728+ /** Gets the `i`th child of this node. */
1729+ AstNode getChild ( int i ) { yaml_key_child ( this , i , result ) }
1730+
1731+ /** Gets a field or child node of this node. */
1732+ override AstNode getAFieldOrChild ( ) { yaml_key_child ( this , _, result ) }
1733+ }
1734+
1735+ /** A class representing `yaml_keyvaluepair` nodes. */
1736+ class YamlKeyvaluepair extends @yaml_keyvaluepair, AstNode {
1737+ /** Gets the name of the primary QL class for this element. */
1738+ override string getAPrimaryQlClass ( ) { result = "YamlKeyvaluepair" }
1739+
1740+ /** Gets the location of this element. */
1741+ override Location getLocation ( ) { yaml_keyvaluepair_def ( this , _, _, result ) }
16971742
16981743 /** Gets the node corresponding to the field `key`. */
1699- SimpleId getKey ( ) { yaml_entry_def ( this , result , _, _) }
1744+ YamlKey getKey ( ) { yaml_keyvaluepair_def ( this , result , _, _) }
17001745
17011746 /** Gets the node corresponding to the field `value`. */
1702- YamlValue getValue ( ) { yaml_entry_def ( this , _, result , _) }
1747+ YamlValue getValue ( ) { yaml_keyvaluepair_def ( this , _, result , _) }
17031748
17041749 /** Gets a field or child node of this node. */
17051750 override AstNode getAFieldOrChild ( ) {
1706- yaml_entry_def ( this , result , _, _) or yaml_entry_def ( this , _, result , _)
1751+ yaml_keyvaluepair_def ( this , result , _, _) or yaml_keyvaluepair_def ( this , _, result , _)
17071752 }
17081753 }
17091754
1755+ /** A class representing `yaml_listitem` nodes. */
1756+ class YamlListitem extends @yaml_listitem, AstNode {
1757+ /** Gets the name of the primary QL class for this element. */
1758+ override string getAPrimaryQlClass ( ) { result = "YamlListitem" }
1759+
1760+ /** Gets the location of this element. */
1761+ override Location getLocation ( ) { yaml_listitem_def ( this , _, result ) }
1762+
1763+ /** Gets the child of this node. */
1764+ YamlValue getChild ( ) { yaml_listitem_def ( this , result , _) }
1765+
1766+ /** Gets a field or child node of this node. */
1767+ override AstNode getAFieldOrChild ( ) { yaml_listitem_def ( this , result , _) }
1768+ }
1769+
17101770 /** A class representing `yaml_value` tokens. */
17111771 class YamlValue extends @token_yaml_value, Token {
17121772 /** Gets the name of the primary QL class for this element. */
0 commit comments