fr.umlv.tatoo.cc.lexer.regex.pattern
Class PatternRuleCompilerImpl
java.lang.Object
fr.umlv.tatoo.cc.lexer.regex.pattern.PatternRuleCompilerImpl
- All Implemented Interfaces:
- PatternRuleCompiler
public class PatternRuleCompilerImpl
- extends Object
- implements PatternRuleCompiler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PatternRuleCompilerImpl
public PatternRuleCompilerImpl(Map<String,Regex> macroes,
Encoding charset)
createMacro
public Regex createMacro(String pattern)
- Specified by:
createMacro
in interface PatternRuleCompiler
createRule
public RuleDecl createRule(RuleFactory lexerFactory,
String id,
String pattern)
- Specified by:
createRule
in interface PatternRuleCompiler