SDA SE Wiki

Software Engineering for Smart Data Analytics & Smart Data Analytics for Software Engineering

User Tools

Site Tools


ast_parent(+NodeId:atom,?ParentId:atom) is det.

ast_parent(?NodeId:atom,?ParentId:atom) is nondet.

  • When called with the first argument instantiated, unify the second argument with the identity of the parent node.
  • When called with the first argument free, enumerate all pairs of node and and parent node identities.
  • Both variants fail for / don't enumerate nodes that have no parents.
research/jtransformer/api/meta/queries/ast_parent.txt · Last modified: 2018/05/09 01:59 (external edit)

SEWiki, © 2025