Skip to content

index of newNodeInsertionHelpers and nodePropertyDescriptors #1835

@wsliture

Description

@wsliture

Now I want to extends codepropertygraph, but I don't know how to compute index of newNodeInsertionHelpers and nodePropertyDescriptors.

here:

nodePropertyDescriptors(86) = FormalQtyType.IntType // ANNOTATION.ARGUMENT_INDEX
nodePropertyDescriptors(87) = FormalQtyType.QtyOne
nodePropertyDescriptors(172) = FormalQtyType.StringType // ANNOTATION.ARGUMENT_NAME
nodePropertyDescriptors(173) = FormalQtyType.QtyOption
nodePropertyDescriptors(602) = FormalQtyType.StringType // ANNOTATION.CODE
nodePropertyDescriptors(603) = FormalQtyType.QtyOne
nodePropertyDescriptors(688) = FormalQtyType.IntType // ANNOTATION.COLUMN_NUMBER

_newNodeInserters(86) = nodes.NewAnnotation.InsertionHelpers.NewNodeInserter_Annotation_argumentIndex
_newNodeInserters(172) = nodes.NewAnnotation.InsertionHelpers.NewNodeInserter_Annotation_argumentName
_newNodeInserters(602) = nodes.NewAnnotation.InsertionHelpers.NewNodeInserter_Annotation_code
_newNodeInserters(688) = nodes.NewAnnotation.InsertionHelpers.NewNodeInserter_Annotation_columnNumber
_newNodeInserters(1720) = nodes.NewAnnotation.InsertionHelpers.NewNodeInserter_Annotation_fullName
_newNodeInserters(2838) = nodes.NewAnnotation.InsertionHelpers.NewNodeInserter_Annotation_lineNumber
_newNodeInserters(3182) = nodes.NewAnnotation.InsertionHelpers.NewNodeInserter_Annotation_name
_newNodeInserters(3268) = nodes.NewAnnotation.InsertionHelpers.NewNodeInserter_Annotation_offset
_newNodeInserters(3354) = nodes.NewAnnotation.InsertionHelpers.NewNodeInserter_Annotation_offsetEnd
_newNodeInserters(3440) = nodes.NewAnnotation.InsertionHelpers.NewNodeInserter_Annotation_order
_newNodeInserters(88) = nodes.NewAnnotationLiteral.InsertionHelpers.NewNodeInserter_AnnotationLiteral_argumentIndex
_newNodeInserters(174) = nodes.NewAnnotationLiteral.InsertionHelpers.NewNodeInserter_AnnotationLiteral_argumentName
_newNodeInserters(604) = nodes.NewAnnotationLiteral.InsertionHelpers.NewNodeInserter_AnnotationLiteral_code

relate link also here:

joernio/standalone-ext#19

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions