Last active
February 24, 2018 00:16
-
-
Save AndyG/358821103ac6148fea0ad4575596e440 to your computer and use it in GitHub Desktop.
Basic Rule
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
abstract class Rule(val pattern: Pattern) { | |
abstract fun parse(matcher: Matcher, parser: Parser): Node | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment