Package org.drip.service.jsonparser
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/).
- 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
Typestatic int
TYPE_COLON
Colon Tokenstatic int
TYPE_COMMA
Comma Tokenstatic int
TYPE_EOF
EOF Tokenstatic int
TYPE_LEFT_BRACE
Left Brace Tokenstatic int
TYPE_LEFT_SQUARE
Left Square Tokenstatic int
TYPE_RIGHT_BRACE
Right Brace Tokenstatic int
TYPE_RIGHT_SQUARE
Right Square Tokenstatic int
TYPE_VALUE
Value Tokenjava.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()
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
TYPE_VALUE
public static final int TYPE_VALUEValue Token- See Also:
- Constant Field Values
-
TYPE_LEFT_BRACE
public static final int TYPE_LEFT_BRACELeft Brace Token- See Also:
- Constant Field Values
-
TYPE_RIGHT_BRACE
public static final int TYPE_RIGHT_BRACERight Brace Token- See Also:
- Constant Field Values
-
TYPE_LEFT_SQUARE
public static final int TYPE_LEFT_SQUARELeft Square Token- See Also:
- Constant Field Values
-
TYPE_RIGHT_SQUARE
public static final int TYPE_RIGHT_SQUARERight Square Token- See Also:
- Constant Field Values
-
TYPE_COMMA
public static final int TYPE_COMMAComma Token- See Also:
- Constant Field Values
-
TYPE_COLON
public static final int TYPE_COLONColon Token- See Also:
- Constant Field Values
-
TYPE_EOF
public static final int TYPE_EOFEOF Token- See Also:
- Constant Field Values
-
type
public int typeType -
value
public java.lang.Object valueValue
-
-
Constructor Details
-
Yytoken
public Yytoken(int type, java.lang.Object value)Yytoken Constructor- Parameters:
type
- Token Typevalue
- Token Value
-
-
Method Details
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-