CodeQL library for Ruby
codeql/ruby-all 0.8.15-dev (changelog, source)
Search

Member predicate AstNode::getDesugared

Gets the desugared version of this AST node, if any.

For example, the desugared version of

x += y

is

x = x + y

when x is a variable. Whenever an AST node can be desugared, then the desugared version is used in the control-flow graph.

AstNode getDesugared()