org.jplot2d.javacc
Class SymbolShapeParser
- java.lang.Object
-
- org.jplot2d.javacc.SymbolShapeParser
-
- All Implemented Interfaces:
- SymbolShapeParserConstants
public class SymbolShapeParser extends java.lang.Object implements SymbolShapeParserConstants
-
-
Field Summary
Fields Modifier and Type Field and Description Tokenjj_ntNext token.TokentokenCurrent token.SymbolShapeParserTokenManagertoken_sourceGenerated Token Manager.-
Fields inherited from interface org.jplot2d.javacc.SymbolShapeParserConstants
DEFAULT, EOF, NUM, tokenImage
-
-
Constructor Summary
Constructors Constructor and Description SymbolShapeParser(java.io.InputStream stream)Constructor with InputStream.SymbolShapeParser(java.io.InputStream stream, java.lang.String encoding)Constructor with InputStream and supplied encodingSymbolShapeParser(java.io.Reader stream)Constructor.SymbolShapeParser(SymbolShapeParserTokenManager tm)Constructor with generated Token Manager.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voiddisable_tracing()Disable tracing.voidenable_tracing()Enable tracing.ParseExceptiongenerateParseException()Generate ParseException.java.util.ArrayList<java.awt.Shape>getDrawShapeList()java.util.ArrayList<java.awt.Shape>getFillShapeList()TokengetNextToken()Get the next Token.TokengetToken(int index)Get the specific Token.voidparse(java.lang.String s)voidReInit(java.io.InputStream stream)Reinitialise.voidReInit(java.io.InputStream stream, java.lang.String encoding)Reinitialise.voidReInit(java.io.Reader stream)Reinitialise.voidReInit(SymbolShapeParserTokenManager tm)Reinitialise.
-
-
-
Field Detail
-
token_source
public SymbolShapeParserTokenManager token_source
Generated Token Manager.
-
token
public Token token
Current token.
-
jj_nt
public Token jj_nt
Next token.
-
-
Constructor Detail
-
SymbolShapeParser
public SymbolShapeParser(java.io.InputStream stream)
Constructor with InputStream.
-
SymbolShapeParser
public SymbolShapeParser(java.io.InputStream stream, java.lang.String encoding)Constructor with InputStream and supplied encoding
-
SymbolShapeParser
public SymbolShapeParser(java.io.Reader stream)
Constructor.
-
SymbolShapeParser
public SymbolShapeParser(SymbolShapeParserTokenManager tm)
Constructor with generated Token Manager.
-
-
Method Detail
-
getDrawShapeList
public java.util.ArrayList<java.awt.Shape> getDrawShapeList()
-
getFillShapeList
public java.util.ArrayList<java.awt.Shape> getFillShapeList()
-
parse
public final void parse(java.lang.String s) throws ParseException- Throws:
ParseException
-
ReInit
public void ReInit(java.io.InputStream stream)
Reinitialise.
-
ReInit
public void ReInit(java.io.InputStream stream, java.lang.String encoding)Reinitialise.
-
ReInit
public void ReInit(java.io.Reader stream)
Reinitialise.
-
ReInit
public void ReInit(SymbolShapeParserTokenManager tm)
Reinitialise.
-
getNextToken
public final Token getNextToken()
Get the next Token.
-
getToken
public final Token getToken(int index)
Get the specific Token.
-
generateParseException
public ParseException generateParseException()
Generate ParseException.
-
enable_tracing
public final void enable_tracing()
Enable tracing.
-
disable_tracing
public final void disable_tracing()
Disable tracing.
-
-
DMelt 3.0 © DataMelt by jWork.ORG