generated from JetBrains/intellij-platform-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(compiler): change PostProcessor to ProcessFuncNode usage #24
This commit updates the `HobbitHole.kt` and associated test cases to replace the `PostProcessor` with the new `ProcessFuncNode` data class. It involves changing the type of the `onStreamingEnd` list and the corresponding processing logic. The commit also includes the addition of the new `ProcessFuncNode` class file and updates the test assertions to reflect these changes.
- Loading branch information
Showing
3 changed files
with
18 additions
and
13 deletions.
There are no files selected for viewing
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
8 changes: 8 additions & 0 deletions
8
shirelang/src/main/kotlin/com/phodal/shirelang/compiler/hobbit/ProcessFuncNode.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,8 @@ | ||
package com.phodal.shirelang.compiler.hobbit | ||
|
||
data class ProcessFuncNode( | ||
val funName: String, | ||
val args: List<Any>, | ||
) { | ||
|
||
} |
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