Class AbstractCommentParser

java.lang.Object
org.sql2o.quirks.parameterparsing.impl.AbstractCommentParser
All Implemented Interfaces:
CharParser
Direct Known Subclasses:
DoubleHyphensCommentParser, ForwardSlashCommentParser

public abstract class AbstractCommentParser extends Object implements CharParser
Created by lars on 22.09.2014.
  • Constructor Details

    • AbstractCommentParser

      public AbstractCommentParser()
  • Method Details

    • init

      protected void init()
    • parse

      public int parse(char c, int idx, StringBuilder parsedSql, String sql, int length)
      Specified by:
      parse in interface CharParser
    • isEndComment

      public abstract boolean isEndComment(char c)