CodeQL library for JavaScript/TypeScript
codeql/javascript-all 0.8.12 (changelog, source)
Search

Class PrintYaml::YamlMappingNode

A print node representing a YAMLMapping.

Each child of this node aggregates the key and value of a mapping.

Import path

import semmle.javascript.PrintAst

Direct supertypes

Indirect supertypes

Fields

Predicates

getChild

Gets the child node at index childIndex. Child indices must be unique, but need not be contiguous.

Inherited predicates

getAChild

Gets a child of this node.

from PrintAstNode
getChildEdgeLabel

Gets the label for the edge from this node to the specified child. By default, this is just the index of the child, but subclasses can override this.

from PrintAstNode
getLocation

Gets the location of this node in the source code.

from YamlNodeNode
getParent

Gets the parent of this node, if any.

from PrintAstNode
getProperty

Gets the value of the property of this node, where the name of the property is key.

from PrintAstNode
getValue

Gets the YAMLNode represented by this node.

from YamlNodeNode
toString

Gets a textual representation of this node in the PrintAst output tree.

from YamlNodeNode