-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #546 from smeup/feature/exfmt
Feature/exfmt
- Loading branch information
Showing
32 changed files
with
249 additions
and
87 deletions.
There are no files selected for viewing
9 changes: 0 additions & 9 deletions
9
dspfparser/src/main/kotlin/com/smeup/dspfparser/domain/DSPFRecord.kt
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
dspfparser/src/main/kotlin/com/smeup/dspfparser/domain/DSPFValue.kt
This file was deleted.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
dspfparser/src/main/kotlin/com/smeup/dspfparser/domain/DisplayFileParser.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 5 additions & 2 deletions
7
...otlin/com/smeup/dspfparser/domain/DSPF.kt → .../smeup/dspfparser/linesclassifier/DSPF.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 6 additions & 3 deletions
9
.../com/smeup/dspfparser/domain/DSPFField.kt → ...p/dspfparser/linesclassifier/DSPFField.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../smeup/dspfparser/domain/DSPFFieldType.kt → ...pfparser/linesclassifier/DSPFFieldType.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 0 additions & 7 deletions
7
dspfparser/src/main/kotlin/com/smeup/dspfparser/linesclassifier/DSPFFieldValue.kt
This file was deleted.
Oops, something went wrong.
12 changes: 12 additions & 0 deletions
12
dspfparser/src/main/kotlin/com/smeup/dspfparser/linesclassifier/DSPFRecord.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package com.smeup.dspfparser.linesclassifier | ||
|
||
import kotlinx.serialization.Serializable | ||
|
||
/** | ||
* Represents a display file record. | ||
*/ | ||
@Serializable | ||
sealed interface DSPFRecord { | ||
val name: String | ||
val fields: List<DSPFField> | ||
} |
1 change: 0 additions & 1 deletion
1
dspfparser/src/main/kotlin/com/smeup/dspfparser/linesclassifier/DSPFRecordSpecifications.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
dspfparser/src/main/kotlin/com/smeup/dspfparser/linesclassifier/DSPFSpecifications.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
dspfparser/src/main/kotlin/com/smeup/dspfparser/linesclassifier/DSPFValue.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package com.smeup.dspfparser.linesclassifier | ||
|
||
/** | ||
* Value assigned to a [DSPFField] object. | ||
*/ | ||
interface DSPFValue |
1 change: 0 additions & 1 deletion
1
dspfparser/src/test/kotlin/com/smeup/dspfparser/linesclassifier/DSPFSpecificationsTest.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
rpgJavaInterpreter-core/src/main/kotlin/com/smeup/rpgparser/interpreter/OnExfmtResponse.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package com.smeup.rpgparser.interpreter | ||
|
||
/** | ||
* Represents the return state by an EXFMT statement | ||
*/ | ||
data class OnExfmtResponse( | ||
val runtimeInterpreterSnapshot: RuntimeInterpreterSnapshot, | ||
val values: Map<String, Value> | ||
) |
7 changes: 7 additions & 0 deletions
7
...preter-core/src/main/kotlin/com/smeup/rpgparser/interpreter/RuntimeInterpreterSnapshot.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package com.smeup.rpgparser.interpreter | ||
|
||
/** | ||
* An instance of this object will be used by the client to inform jariko about | ||
* interpreter state just before the EXFMT statement execution. | ||
*/ | ||
class RuntimeInterpreterSnapshot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.