SDA SE Wiki

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

User Tools

Site Tools


ast_reference_for_id(+ID, ?Reference) is nondet

  • Arg2 is a reference argument in the node with identity ID.
  • If there is no non-null reference argument in PEF the predicate fails.
  • If there are multiple ones, it suceeds multiply.

This predicate is just a shorthand for

  ast_node_for_id(ID, Term),                                             
  ast_reference(Term, Reference)
research/jtransformer/usefull/ast_reference_for_id.txt · Last modified: 2018/05/09 01:59 (external edit)

SEWiki, © 2020