Class API::MethodAccessNode
A node corresponding to the method being invoked at a method call.
Import path
import codeql.ruby.ApiGraphsDirect supertypes
Indirect supertypes
Known direct subtypes
Predicates
| getCallNode | Gets the call node corresponding to this method access. |
| toString | Gets a textual representation of this element. |
Inherited predicates
| asSink | Gets a data-flow node where this value leaves the current codebase and flows into an external library (or in general, any external codebase). | from Node |
| asSource | Gets a data-flow node where this value enters the current codebase. | from Node |
| getAMember | Gets a node representing a member of this API component where the name of the member may or may not be known statically. | from Node |
| getAMethodCall | Gets a call to a method on the receiver represented by this API component. | from Node |
| getAPredecessor | Gets a node such that there is an edge in the API graph between this node and the other one. | from Node |
| getAPredecessor | Gets a node such that there is an edge in the API graph between that other node and this one, and that edge is labeled with | from Node |
| getARhs | DEPRECATED. This predicate has been renamed to | from Node |
| getASubclass | Gets a node representing a (direct or indirect) subclass of the class represented by this node. | from Node |
| getASuccessor | Gets a node such that there is an edge in the API graph between that other node and this one. | from Node |
| getASuccessor | Gets a node such that there is an edge in the API graph between this node and the other one, and that edge is labeled with | from Node |
| getAUse | DEPRECATED. This predicate has been renamed to | from Node |
| getAValueReachableFromSource | Gets a data-flow node where this value may flow after entering the current codebase. | from Node |
| getAValueReachingRhs | DEPRECATED. This predicate has been renamed to | from Node |
| getAValueReachingSink | Get a data-flow node that transitively flows to an external library (or in general, any external codebase). | from Node |
| getAnElement | Gets a node representing an element of this collection (known or unknown). | from Node |
| getAnImmediateSubclass | Gets a node representing a direct subclass of the class represented by this node. | from Node |
| getAnImmediateUse | DEPRECATED. This predicate has been renamed to | from Node |
| getAnInstantiation | Gets a | from Node |
| getBlock | Gets an API node representing the block parameter. | from Node |
| getContent | Gets a node representing the | from Node |
| getContents | Gets a node representing the | from Node |
| getDepth | Gets the shortest distance from the root to this node in the API graph. | from Node |
| getField | Gets a node representing the instance field of the given | from Node |
| getInducingNode | Gets the data-flow node that gives rise to this node, if any. | from Node |
| getInstance | Gets a node representing an instance of this API component, that is, an object whose constructor is the function represented by this node. | from Node |
| getKeywordParameter | Gets an API node representing the given keyword parameter. | from Node |
| getLocation | Gets the location of this node. | from Node |
| getMember | Gets a node representing member | from Node |
| getMethod | Gets a node representing a call to | from Node |
| getParameter | Gets an API node representing the | from Node |
| getPath | Gets a string representation of the lexicographically least among all shortest access paths from the root to this node. | from Node |
| getReturn | Gets a node representing the result of this call. | from Node |
| getReturn | Gets a node representing the result of calling a method on the receiver represented by this node. | from Node |