All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.coode.owlapi.obo.parser.OBOParserConstants Maven / Gradle / Ivy

There is a newer version: 3.4.9.2-ansell
Show newest version
/* Generated By:JavaCC: Do not edit this line. OBOParserConstants.java */
package org.coode.owlapi.obo.parser;


/**
 * Token literal values and constants.
 * Generated by org.javacc.parser.OtherFilesGen#start()
 */
public interface OBOParserConstants {

  /** End of File. */
  int EOF = 0;
  /** RegularExpression Id. */
  int LINE_COMMENTED_OUT = 5;
  /** RegularExpression Id. */
  int OPEN_SQUARE_BRACKET = 6;
  /** RegularExpression Id. */
  int STANZA_TYPE = 7;
  /** RegularExpression Id. */
  int CLOSE_SQUARE_BRACKET = 8;
  /** RegularExpression Id. */
  int TAG_NAME = 9;
  /** RegularExpression Id. */
  int TAG_COLON = 10;
  /** RegularExpression Id. */
  int QUOTED_STRING_START = 11;
  /** RegularExpression Id. */
  int QUOTED_STRING = 12;
  /** RegularExpression Id. */
  int QUOTED_STRING_DBL_QUOTE_TERMINATOR = 13;
  /** RegularExpression Id. */
  int QUOTED_STRING_NEW_LINE_TERMINATOR = 14;
  /** RegularExpression Id. */
  int STRING = 15;
  /** RegularExpression Id. */
  int TAG_VALUE_WS = 16;
  /** RegularExpression Id. */
  int TAG_END = 17;
  /** RegularExpression Id. */
  int COMMENT_START = 18;
  /** RegularExpression Id. */
  int COMMENT = 19;
  /** RegularExpression Id. */
  int COMMENT_END = 20;
  /** RegularExpression Id. */
  int ERROR = 21;

  /** Lexical state. */
  int DEFAULT = 0;
  /** Lexical state. */
  int IN_STANZA_HEADER = 1;
  /** Lexical state. */
  int IN_TAG_VALUE_PAIR = 2;
  /** Lexical state. */
  int IN_TAG_VALUE = 3;
  /** Lexical state. */
  int IN_QUOTED_STRING = 4;
  /** Lexical state. */
  int IN_COMMENT = 5;

  /** Literal token values. */
  String[] tokenImage = {
    "",
    "\"\\n\"",
    "\"\\r\"",
    "\"\\t\"",
    "\" \"",
    "",
    "\"[\"",
    "",
    "\"]\"",
    "",
    "",
    "\"\\\"\"",
    "",
    "",
    "",
    "",
    "",
    "",
    "\"!\"",
    "",
    "",
    "",
  };

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy