Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
},
"license": "MIT",
"dependencies": {
"@abaplint/cli": "^2.113.9",
"@abaplint/database-sqlite": "^2.8.25",
"@abaplint/runtime": "^2.10.19",
"@abaplint/transpiler-cli": "^2.10.19",
"@abaplint/cli": "^2.113.17",
"@abaplint/database-sqlite": "^2.10.20",
"@abaplint/runtime": "^2.10.20",
"@abaplint/transpiler-cli": "^2.10.20",
"0x": "^5.7.0"
}
}
22 changes: 20 additions & 2 deletions src/cl_demo_output.clas.abap → src/demo/cl_demo_output.clas.abap
Original file line number Diff line number Diff line change
@@ -1,28 +1,46 @@
CLASS cl_demo_output DEFINITION PUBLIC.
PUBLIC SECTION.
INTERFACES if_demo_output.

CLASS-METHODS write
IMPORTING
data TYPE any
name TYPE string OPTIONAL.

CLASS-METHODS clear.

CLASS-METHODS new
RETURNING
VALUE(output) TYPE REF TO if_demo_output.

CLASS-METHODS display
IMPORTING
data TYPE any OPTIONAL
name TYPE string OPTIONAL PREFERRED PARAMETER data.
data TYPE any OPTIONAL
name TYPE string OPTIONAL PREFERRED PARAMETER data.
ENDCLASS.

CLASS cl_demo_output IMPLEMENTATION.
METHOD write.
ASSERT 1 = 'not supported'.
ENDMETHOD.

METHOD if_demo_output~write.
ASSERT 1 = 'not supported'.
ENDMETHOD.

METHOD new.
ASSERT 1 = 'not supported'.
ENDMETHOD.

METHOD clear.
ASSERT 1 = 'not supported'.
ENDMETHOD.

METHOD display.
ASSERT 1 = 'not supported'.
ENDMETHOD.

METHOD if_demo_output~display.
ASSERT 1 = 'not supported'.
ENDMETHOD.
ENDCLASS.
9 changes: 9 additions & 0 deletions src/demo/if_demo_output.intf.abap
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
INTERFACE if_demo_output PUBLIC.

METHODS write
IMPORTING
data TYPE any.

METHODS display.

ENDINTERFACE.