Skip to content

Commit

Permalink
Add a DslMarker to NodeParameterMapBuilder
Browse files Browse the repository at this point in the history
  • Loading branch information
defvs committed Aug 26, 2024
1 parent 2a9c3fc commit f2d0721
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/kotlin/nodes/NodeParameterMap.kt
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ class NodeParameterMap(

}

@DslMarker
annotation class NodeParameterDsl

@NodeParameterDsl
class NodeParameterMapBuilder {
private val parameters = mutableListOf<NodeParameter>()

Expand Down

0 comments on commit f2d0721

Please sign in to comment.