diff options
Diffstat (limited to 'src/main/java/bjc/rgens/parser/RuleCase.java')
| -rwxr-xr-x | src/main/java/bjc/rgens/parser/RuleCase.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main/java/bjc/rgens/parser/RuleCase.java b/src/main/java/bjc/rgens/parser/RuleCase.java index 9c0a856..bb82ff2 100755 --- a/src/main/java/bjc/rgens/parser/RuleCase.java +++ b/src/main/java/bjc/rgens/parser/RuleCase.java @@ -13,7 +13,7 @@ import bjc.utils.funcdata.IList; * * @author EVE */ -public class RuleCase { +public abstract class RuleCase { /** * The possible types of a case. * @@ -25,7 +25,7 @@ public class RuleCase { /** A case that doesn't insert spaces. */ SPACEFLATTEN, /** A case that applies a regex after generation. */ - REGEX + REGEX; } /** The type of this case. */ @@ -75,6 +75,8 @@ public class RuleCase { elementList = elements; } + public abstract void generate(GenerationState state); + /** * Get the element list value of this type. * |
