Class Yytoken

java.lang.Object
org.drip.service.jsonparser.Yytoken

public class Yytoken
extends java.lang.Object
Yytoken is an Adaptation of the Yytoken Class from the RFC4627 compliant JSON Simple (https://code.google.com/p/json-simple/). It provides the following Functionality:
  • Value Token
  • Left Brace Token
  • Right Brace Token
  • Left Square Token
  • Right Square Token
  • Comma Token
  • Colon Token
  • EOF Token
  • Type
  • Value
  • Yytoken Constructor
  • String Version of the State

Module Computational Core Module
Library Computation Support
Project Environment, Product/Definition Containers, and Scenario/State Manipulation APIs
Package RFC4627 Compliant JSON Message Parser

Author:
Fang Yidong, Lakshmi Krishnamurthy
  • Field Summary

    Fields
    Modifier and Type Field Description
    int type
    Type
    static int TYPE_COLON
    Colon Token
    static int TYPE_COMMA
    Comma Token
    static int TYPE_EOF
    EOF Token
    static int TYPE_LEFT_BRACE
    Left Brace Token
    static int TYPE_LEFT_SQUARE
    Left Square Token
    static int TYPE_RIGHT_BRACE
    Right Brace Token
    static int TYPE_RIGHT_SQUARE
    Right Square Token
    static int TYPE_VALUE
    Value Token
    java.lang.Object value
    Value
  • Constructor Summary

    Constructors
    Constructor Description
    Yytoken​(int type, java.lang.Object value)
    Yytoken Constructor
  • Method Summary

    Modifier and Type Method Description
    java.lang.String toString()
    String Version of the State

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • TYPE_VALUE

      public static final int TYPE_VALUE
      Value Token
      See Also:
      Constant Field Values
    • TYPE_LEFT_BRACE

      public static final int TYPE_LEFT_BRACE
      Left Brace Token
      See Also:
      Constant Field Values
    • TYPE_RIGHT_BRACE

      public static final int TYPE_RIGHT_BRACE
      Right Brace Token
      See Also:
      Constant Field Values
    • TYPE_LEFT_SQUARE

      public static final int TYPE_LEFT_SQUARE
      Left Square Token
      See Also:
      Constant Field Values
    • TYPE_RIGHT_SQUARE

      public static final int TYPE_RIGHT_SQUARE
      Right Square Token
      See Also:
      Constant Field Values
    • TYPE_COMMA

      public static final int TYPE_COMMA
      Comma Token
      See Also:
      Constant Field Values
    • TYPE_COLON

      public static final int TYPE_COLON
      Colon Token
      See Also:
      Constant Field Values
    • TYPE_EOF

      public static final int TYPE_EOF
      EOF Token
      See Also:
      Constant Field Values
    • type

      public int type
      Type
    • value

      public java.lang.Object value
      Value
  • Constructor Details

    • Yytoken

      public Yytoken​(int type, java.lang.Object value)
      Yytoken Constructor
      Parameters:
      type - Token Type
      value - Token Value
  • Method Details

    • toString

      public java.lang.String toString()
      String Version of the State
      Overrides:
      toString in class java.lang.Object
      Returns:
      String Version of the State