Top Description Inners Fields Constructors Methods
org.python.antlr

public Class AnalyzingParser

extends BaseParser
Class Inheritance
Imports
org.antlr.runtime.ANTLRFileStream, .CharStream, .RecognitionException, .Token, org.python.antlr.ast.Name, org.python.antlr.base.mod, java.util.List

Parser used by the indexer.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Inherited from org.python.antlr.BaseParser:
charStreamencodingerrorHandlerfilenamepartialprintFunctionunicodeLiterals

Constructor Summary

AccessConstructor and Description
public
AnalyzingParser(CharStream stream, String filename, String encoding)

Method Summary

Modifier and TypeMethod and Description
public List<RecognitionException>
public static void
main(String[] args)

protected PythonParser
Inherited from org.python.antlr.BaseParser:
parseExpressionparseInteractiveparseModulesetAntlrErrorHandler

Constructor Detail

AnalyzingParserback to summary
public AnalyzingParser(CharStream stream, String filename, String encoding)

Method Detail

getRecognitionErrorsback to summary
public List<RecognitionException> getRecognitionErrors()
mainback to summary
public static void main(String[] args)
setupParserback to summary
protected PythonParser setupParser(boolean single)

Overrides org.python.antlr.BaseParser.setupParser.

Annotations
@Override
org.python.antlr back to summary

public Class AnalyzingParser.AnalyzerTreeAdaptor

extends PythonTreeAdaptor
Class Inheritance

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
setTokenBoundaries(Object t, Token startToken, Token stopToken)

Overrides org.python.antlr.PythonTreeAdaptor.setTokenBoundaries.

Implements org.antlr.runtime.tree.TreeAdaptor.setTokenBoundaries.

Make sure a parenthesized Name expr has its start/stop bounds set to the bounds of the identifier.

Inherited from org.python.antlr.PythonTreeAdaptor:
addChildbecomeRootcreatecreatecreatecreatedeleteChilddupNodeerrorNodegetChildgetChildCountgetTextgetTypeisNilrulePostProcessingsetChild

Constructor Detail

AnalyzerTreeAdaptorback to summary
public AnalyzerTreeAdaptor()

Method Detail

setTokenBoundariesback to summary
public void setTokenBoundaries(Object t, Token startToken, Token stopToken)

Overrides org.python.antlr.PythonTreeAdaptor.setTokenBoundaries.

Implements org.antlr.runtime.tree.TreeAdaptor.setTokenBoundaries.

Make sure a parenthesized Name expr has its start/stop bounds set to the bounds of the identifier.

Annotations
@Override