package pythonparser
- Alphabetic
- Public
- Protected
Type Members
- class AstPrinter extends AstVisitor[String]
- trait AstVisitor[T] extends AnyRef
- trait CharStream extends AnyRef
This interface describes a character stream that maintains line and column number positions of the characters.
This interface describes a character stream that maintains line and column number positions of the characters. It also has the capability to backup the stream to some extent. An implementation of this interface is used in the TokenManager implementation generated by JavaCCParser.
All the methods except backup can be implemented in any fashion. backup needs to be implemented correctly for the correct operation of the lexer. Rest of the methods are all used to get information like line number, column number and the String that constitutes a token and are not used by the lexer. Hence their implementation won't affect the generated lexer's operation.
- class CharStreamImpl extends CharStream
- class ParseException extends Exception
This exception is thrown when parse errors are encountered.
This exception is thrown when parse errors are encountered. You can explicitly create objects of this exception type by calling the method generateParseException in the generated parser.
You can modify this class to customize your error reporting mechanisms so long as you retain the public fields.
- class PositionToken extends AnyRef
- class PyParser extends AnyRef
- class PythonParser extends PythonParserConstants
- trait PythonParserConstants extends AnyRef
Token literal values and constants.
Token literal values and constants. Generated by org.javacc.parser.OtherFilesGen#start()
- class PythonParserTokenManager extends PythonParserConstants
Token Manager.
Token Manager.
- Annotations
- @SuppressWarnings()
- class Token extends PositionToken with Serializable
Describes the input token stream.
- class TokenMgrError extends Error
Token Manager Error.
Value Members
- object CharStreamImpl