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

ucar.units.StandardUnitFormatConstants Maven / Gradle / Ivy

Go to download

The ucar.units Java package is for decoding and encoding formatted unit specifications (e.g. "m/s"), converting numeric values between compatible units (e.g. between "m/s" and "knot"), and for performing arithmetic operations on units (e.g. dividing one unit by another, or raising a unit to a power).

The newest version!
/*
 * Copyright (c) 1998-2018 University Corporation for Atmospheric Research/Unidata
 * See LICENSE for license information.
 */

/* Generated By:JavaCC: Do not edit this line. StandardUnitFormatConstants.java */
package ucar.units;


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

  /** End of File. */
  int EOF = 0;
  /** RegularExpression Id. */
  int SP = 1;
  /** RegularExpression Id. */
  int PLUS = 2;
  /** RegularExpression Id. */
  int MINUS = 3;
  /** RegularExpression Id. */
  int COLON = 4;
  /** RegularExpression Id. */
  int UINT = 5;
  /** RegularExpression Id. */
  int SIGN = 6;
  /** RegularExpression Id. */
  int LETTER = 7;
  /** RegularExpression Id. */
  int LPAREN = 8;
  /** RegularExpression Id. */
  int RPAREN = 9;
  /** RegularExpression Id. */
  int REAL_EXP = 10;
  /** RegularExpression Id. */
  int RAISE = 11;
  /** RegularExpression Id. */
  int PERIOD = 12;
  /** RegularExpression Id. */
  int STAR = 13;
  /** RegularExpression Id. */
  int DIVIDE = 14;
  /** RegularExpression Id. */
  int SHIFT = 15;
  /** RegularExpression Id. */
  int SYMBOL = 16;
  /** RegularExpression Id. */
  int T = 17;
  /** RegularExpression Id. */
  int NAME = 18;
  /** RegularExpression Id. */
  int LB = 19;
  /** RegularExpression Id. */
  int LN = 20;
  /** RegularExpression Id. */
  int LG = 21;

  /** Lexical state. */
  int DEFAULT = 0;

  /** Literal token values. */
  String[] tokenImage = {
    "",
    "",
    "\"+\"",
    "\"-\"",
    "\":\"",
    "",
    "",
    "",
    "\"(\"",
    "\")\"",
    "",
    "\"^\"",
    "\".\"",
    "\"*\"",
    "",
    "",
    "",
    "\"t\"",
    "",
    "",
    "",
    "",
  };

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy