core/src/main/java/org/apache/calcite/sql/parser/SqlAbstractParserImpl.java
public static LexicalState forConfig(SqlParser.Config config) {
      switch (config.quoting()) {
      case BRACKET:
        return DEFAULT;
      case DOUBLE_QUOTE:
        return DQID;
      case BACK_TICK_BACKSLASH:
        return BQID;
      case BACK_TICK:
        if (config.conformance().allowHyphenInUnquotedTableName()
            && config.charLiteralStyles().equals(
                EnumSet.of(CharLiteralStyle.BQ_SINGLE,
                    CharLiteralStyle.BQ_DOUBLE))) {
          return BQID;
        }
        if (!config.conformance().allowHyphenInUnquotedTableName()
            && config.charLiteralStyles().equals(
                EnumSet.of(CharLiteralStyle.STANDARD))) {
          return BTID;
        }
        // fall through
      default:
        throw new AssertionError(config);
      }
    }
/** Returns the corresponding parser state with the given configuration
     * (in particular, quoting style). */
Returns the corresponding parser state with the given configuration
(in particular, quoting style).
Returns the corresponding parser state with the given configuration ( in particular quoting style ) .
public static LexicalState forConfig(SqlParser.Config config) {
      switch (config.quoting()) {
      case BRACKET:
        return DEFAULT;
      case DOUBLE_QUOTE:
        return DQID;
      case BACK_TICK_BACKSLASH:
        return BQID;
      case BACK_TICK:
        if (config.conformance().allowHyphenInUnquotedTableName()
            && config.charLiteralStyles().equals(
                EnumSet.of(CharLiteralStyle.BQ_SINGLE,
                    CharLiteralStyle.BQ_DOUBLE))) {
          return BQID;
        }
        if (!config.conformance().allowHyphenInUnquotedTableName()
            && config.charLiteralStyles().equals(
                EnumSet.of(CharLiteralStyle.STANDARD))) {
          return BTID;
        }
      default:
        throw new AssertionError(config);
      }
    }
public static LexicalState forConfig ( SqlParser . Config config ) { switch ( config . quoting ( ) ) { case BRACKET : return DEFAULT ; case DOUBLE_QUOTE : return DQID ; case BACK_TICK_BACKSLASH : return BQID ; case BACK_TICK : if ( config . conformance ( ) . allowHyphenInUnquotedTableName ( ) && config . charLiteralStyles ( ) . equals ( EnumSet . of ( CharLiteralStyle . BQ_SINGLE , CharLiteralStyle . BQ_DOUBLE ) ) ) { return BQID ; } if ( ! config . conformance ( ) . allowHyphenInUnquotedTableName ( ) && config . charLiteralStyles ( ) . equals ( EnumSet . of ( CharLiteralStyle . STANDARD ) ) ) { return BTID ; } default : throw new AssertionError ( config ) ; } }
Returns the corresponding parser state with the given configuration
 (in particular, quoting style).
Returns the corresponding parser state with the given configuration ( in particular quoting style ) .
// fall through