MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / addAction

Method addAction

src/main/java/trace/util/Production.kt:28–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26 fun addRule(left: String, right: String) {
27 rules.add(Rule(left, right))
28 }
29
30 fun addAction(matches: String, action: () -> Unit) {
31 actions.add(Action(matches, action))
32 }
33

Callers

nothing calls this directly

Calls 2

ActionClass · 0.85
addMethod · 0.45

Tested by

no test coverage detected