Class API::MethodAccessNode
A node corresponding to the method being invoked at a method call.
Import path
import codeql.ruby.ApiGraphs
Direct supertypes
Indirect supertypes
Known direct subtypes
Predicates
toString | Gets a textual representation of this element. |
Inherited predicates
asCall | Gets the call referred to by this API node. | from Node |
asCallable | Gets a callable that can reach this sink. | from Node |
asModule | Gets a module or class referred to by this API node. | from Node |
asSink | Gets a data-flow node where this value potentially flows into an external library. | from Node |
asSource | Gets a data-flow node where this value enters the current codebase. | from Node |
getADescendentModule | Gets a module or class that descends from the module or class referenced by this API node. | from Node |
getAMember | Gets an access to a constant with this value as the base of the access. | from Node |
getAMethodCall | Gets a call to a method on the receiver represented by this API node. | from Node |
getAPredecessor | DEPRECATED. API graphs no longer support backward traversal of edges. If possible use | from Node |
getAPredecessor | DEPRECATED. API graphs no longer support backward traversal of edges. If possible use | 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 | DEPRECATED. Use label-specific predicates in this class, such as | from Node |
getAUse | DEPRECATED. This predicate has been renamed to | from Node |
getAValueReachableFromSource | Gets a data-flow node where this value may flow interprocedurally. | from Node |
getAValueReachingRhs | DEPRECATED. This predicate has been renamed to | from Node |
getAValueReachingSink | Get a data-flow node that transitively flows to this value, provided that this value corresponds to a sink. | from Node |
getAnElement | Gets a representative for an arbitrary element of this collection. | 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 |
getArgument | Gets the | from Node |
getArgumentAtPosition | Gets the argument passed in argument position | from Node |
getBlock | Gets the block argument to this call, or the block parameter of this callable. | from Node |
getBlockParameter | Gets the block parameter of a callable that can reach this sink. | from Node |
getCallNode | DEPRECATED. Use | from Node |
getContent | Gets a representative for the | from Node |
getContents | Gets a representative for the | from Node |
getDepth | DEPRECATED. API graphs are no longer associated with a depth. | from Node |
getField | Gets a representative for 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 that may refer to an instance of the module or class represented by this API node. | from Node |
getKeywordArgument | Gets the given keyword argument to this call. | from Node |
getKeywordParameter | Gets the given keyword parameter of this callable, or keyword argument to this call. | from Node |
getLocation | Gets the location of this node. | from Node |
getMember | Gets an access to the constant | from Node |
getMethod | Gets a call to | from Node |
getParameter | Gets the | from Node |
getParameterAtPosition | Gets the parameter at position | from Node |
getPath | DEPRECATED. API graph nodes are no longer associated with specific paths. | from Node |
getReturn | Gets the result of this call, or the return value of this callable. | from Node |
getReturn | Gets the result of a call to | from Node |