Class Node
An element, viewed as a node in a data flow graph. Either an expression
(ExprNode) or a parameter (ParameterNode).
Import path
import codeql.ruby.dataflow.internal.DataFlowPublicDirect supertypes
Known direct subtypes
- ActiveRecordInstance
- ArgumentInterpretedAsUrl
- AttachmentInstance
- CodeExecution
- Collection
- CookieSecurityConfigurationSetting
- CryptographicOperation
- CsrfProtectionSetting
- Escaping
- ExprNode
- FileNameSource
- FileSystemAccess
- FileSystemPermissionModification
- HeaderWriteAccess
- HttpResponse
- IOInstance
- LocalSourceNode
- LoggerInstantiation
- Logging
- ModelInstance
- OrmInstantiation
- PathSanitization
- PersistentWriteAccess
- PostUpdateNode
- Range
- Range
- Range
- Range
- Range
- Range
- Range
- Range
- Range
- Range
- Range
- Range
- Range
- Range
- Range
- Range
- Range
- Range
- Range
- Range
- Range
- Range
- Range
- RegExpPatternSource
- RegexExecution
- RemoteFlowSource
- Request
- RequestInputAccess
- RouteSetup
- SqlConstruction
- SqlExecution
- SystemCommandExecution
- XmlParserCall
Predicates
| asCallable | Gets the callable corresponding to this block, lambda expression, or call to |
| asExpr | Gets the expression corresponding to this node, if any. |
| asParameter | Gets the parameter corresponding to this node, if any. |
| getALocalSource | Gets a local source node from which data may flow to this node in zero or more local data-flow steps. |
| getAPredecessor | Gets a data flow node from which data may flow to this node in one local step. |
| getASuccessor | Gets a data flow node to which data may flow from this node in one local step. |
| getConstantValue | Gets the constant value of this expression, if any. |
| getLocation | Gets the location of this node. |
| hasLocationInfo | Holds if this element is at the specified location. The location spans column |
| toString | Gets a textual representation of this node. |