From a4acdf527322349810f8fb91bd128949ecdc5283 Mon Sep 17 00:00:00 2001 From: Lars Hvam Date: Thu, 16 Nov 2023 06:47:25 +0100 Subject: [PATCH] update --- src/zif_alint_inode.intf.abap | 12 ++++++ src/zif_alint_inode.intf.xml | 15 ++++++++ src/zif_alint_token_node.clas.abap | 59 ++++++++++++++++++++++++++++++ src/zif_alint_token_node.clas.xml | 16 ++++++++ 4 files changed, 102 insertions(+) create mode 100644 src/zif_alint_inode.intf.abap create mode 100644 src/zif_alint_inode.intf.xml create mode 100644 src/zif_alint_token_node.clas.abap create mode 100644 src/zif_alint_token_node.clas.xml diff --git a/src/zif_alint_inode.intf.abap b/src/zif_alint_inode.intf.abap new file mode 100644 index 0000000..89efbde --- /dev/null +++ b/src/zif_alint_inode.intf.abap @@ -0,0 +1,12 @@ +* auto generated, do not touch +INTERFACE zif_alint_inode PUBLIC. + METHODS addchild IMPORTING n TYPE REF TO zif_alint_inode. + TYPES ty1 TYPE STANDARD TABLE OF REF TO zif_alint_inode WITH EMPTY KEY. + METHODS setchildren IMPORTING children TYPE ty1. + TYPES ty2 TYPE STANDARD TABLE OF REF TO zif_alint_inode WITH EMPTY KEY. + METHODS getchildren RETURNING VALUE(return) TYPE ty2. + METHODS get RETURNING VALUE(return) TYPE REF TO object. + METHODS getfirsttoken RETURNING VALUE(return) TYPE REF TO zcl_alint_abstract_token. + METHODS getlasttoken RETURNING VALUE(return) TYPE REF TO zcl_alint_abstract_token. +ENDINTERFACE. + diff --git a/src/zif_alint_inode.intf.xml b/src/zif_alint_inode.intf.xml new file mode 100644 index 0000000..71d0dc8 --- /dev/null +++ b/src/zif_alint_inode.intf.xml @@ -0,0 +1,15 @@ + + + + + + ZIF_ALINT_INODE + E + abaplint + 2 + 1 + X + + + + diff --git a/src/zif_alint_token_node.clas.abap b/src/zif_alint_token_node.clas.abap new file mode 100644 index 0000000..a704003 --- /dev/null +++ b/src/zif_alint_token_node.clas.abap @@ -0,0 +1,59 @@ +* auto generated, do not touch +CLASS zif_alint_token_node DEFINITION PUBLIC. + PUBLIC SECTION. + INTERFACES zif_alint_inode. + METHODS constructor IMPORTING token TYPE REF TO zcl_alint_abstract_token. + ALIASES addchild FOR zif_alint_inode~addchild. + ALIASES setchildren FOR zif_alint_inode~setchildren. + ALIASES getchildren FOR zif_alint_inode~getchildren. + METHODS concattokens RETURNING VALUE(return) TYPE string. + ALIASES get FOR zif_alint_inode~get. + METHODS counttokens RETURNING VALUE(return) TYPE i. + ALIASES getfirsttoken FOR zif_alint_inode~getfirsttoken. + ALIASES getlasttoken FOR zif_alint_inode~getlasttoken. + PRIVATE SECTION. + DATA token TYPE REF TO zcl_alint_abstract_token. +ENDCLASS. + +CLASS zif_alint_token_node IMPLEMENTATION. + METHOD constructor. + me->token = token. + ENDMETHOD. + + METHOD zif_alint_inode~addchild. + ENDMETHOD. + + METHOD zif_alint_inode~setchildren. + ENDMETHOD. + + METHOD zif_alint_inode~getchildren. + return = VALUE #( ). + + ENDMETHOD. + + METHOD concattokens. + return = token->getstr( ). + + ENDMETHOD. + + METHOD zif_alint_inode~get. + return = me->token. + + ENDMETHOD. + + METHOD counttokens. + return = 1. + + ENDMETHOD. + + METHOD zif_alint_inode~getfirsttoken. + return = me->token. + + ENDMETHOD. + + METHOD zif_alint_inode~getlasttoken. + return = me->token. + + ENDMETHOD. + +ENDCLASS. diff --git a/src/zif_alint_token_node.clas.xml b/src/zif_alint_token_node.clas.xml new file mode 100644 index 0000000..548cad5 --- /dev/null +++ b/src/zif_alint_token_node.clas.xml @@ -0,0 +1,16 @@ + + + + + + ZIF_ALINT_TOKEN_NODE + E + abaplint + 1 + X + X + X + + + +