-
Notifications
You must be signed in to change notification settings - Fork 0
Token matchers
Dima Chechetkin edited this page Sep 11, 2019
·
1 revision
#Token Matchers
Currently Linker-parser supports only two types of token matchers: TerminalMatcher
and PatternMatcher
. There is a possibility that NumberMatcher
token will be added later.
This matcher is used on static final String
fields to match buffer contents against a predefined string taken from the value of that field.
This matcher is used on non-static String
fields to match buffer contents against rules specified by @CapturePattern
annotation on that field.
A planned matcher to support matching fields of types that extend Java's Number
type. Not implemented yet.