예제 #1
0
 @Override
 public void visit(@NotNull VerbatimNode node) {
   if ("dollar".equals(node.getType())) {
     try {
       new DollarParserImpl(new ParserOptions()).parse(node.getText(), false);
     } catch (Exception e) {
       throw new DollarException(e, node.getText());
     }
   }
 }
 @Override
 public void f(VerbatimNode node) {
   System.out.printf(" text=[%s], type=[%s]", node.getText(), node.getType());
 }