コード例 #1
0
 @Override
 protected void visit(RENode.CharacterClassExpr.Char expr) throws RuntimeException {
   solver = new Solver.Char(expr.getValue());
 }
コード例 #2
0
 @Override
 protected void visit(RENode.CharacterClassExpr.Range expr) throws RuntimeException {
   RENode.CharacterClassExpr.Char from = expr.getFrom();
   RENode.CharacterClassExpr.Char to = expr.getTo();
   solver = new Solver.Range(from.getValue(), to.getValue());
 }