Properties

io.shiftleft.codepropertygraph.generated.nodes.FieldIdentifier.Properties
object Properties

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Properties.type

Members list

Value members

Concrete fields

val ArgumentIndex: SinglePropertyKey[Int]

AST-children of CALL nodes have an argument index, that is used to match call-site arguments with callee parameters. Explicit parameters are numbered from 1 to N, while index 0 is reserved for implicit self / this parameter. CALLs without implicit parameter therefore have arguments starting with index 1. AST-children of BLOCK nodes may have an argument index as well; in this case, the last argument index determines the return expression of a BLOCK expression. If the PARAMETER_NAME field is set, then the ARGUMENT_INDEX field is ignored. It is suggested to set it to -1.

AST-children of CALL nodes have an argument index, that is used to match call-site arguments with callee parameters. Explicit parameters are numbered from 1 to N, while index 0 is reserved for implicit self / this parameter. CALLs without implicit parameter therefore have arguments starting with index 1. AST-children of BLOCK nodes may have an argument index as well; in this case, the last argument index determines the return expression of a BLOCK expression. If the PARAMETER_NAME field is set, then the ARGUMENT_INDEX field is ignored. It is suggested to set it to -1.

Attributes

val ArgumentName: OptionalPropertyKey[String]

For calls involving named parameters, the ARGUMENT_NAME field holds the name of the parameter initialized by the expression. For all other calls, this field is unset.

For calls involving named parameters, the ARGUMENT_NAME field holds the name of the parameter initialized by the expression. For all other calls, this field is unset.

Attributes

val CanonicalName: SinglePropertyKey[String]

This field holds the canonical name of a FIELD_IDENTIFIER. It is typically identical to the CODE field, but canonicalized according to source language semantics. Human readable names are preferable. FIELD_IDENTIFIER nodes must share identical CANONICAL_NAME if and only if they alias, e.g., in C-style unions (if the aliasing relationship is unknown or there are partial overlaps, then one must make a reasonable guess, and trade off between false negatives and false positives).

This field holds the canonical name of a FIELD_IDENTIFIER. It is typically identical to the CODE field, but canonicalized according to source language semantics. Human readable names are preferable. FIELD_IDENTIFIER nodes must share identical CANONICAL_NAME if and only if they alias, e.g., in C-style unions (if the aliasing relationship is unknown or there are partial overlaps, then one must make a reasonable guess, and trade off between false negatives and false positives).

Attributes

val Code: SinglePropertyKey[String]

This field holds the code snippet that the node represents.

This field holds the code snippet that the node represents.

Attributes

val ColumnNumber: OptionalPropertyKey[Int]

This optional fields provides the column number of the program construct represented by the node.

This optional fields provides the column number of the program construct represented by the node.

Attributes

val LineNumber: OptionalPropertyKey[Int]

This optional field provides the line number of the program construct represented by the node.

This optional field provides the line number of the program construct represented by the node.

Attributes

val Order: SinglePropertyKey[Int]

This integer indicates the position of the node among its siblings in the AST. The left-most child has an order of 0.

This integer indicates the position of the node among its siblings in the AST. The left-most child has an order of 0.

Attributes