A B C D E F G H I J K L M N O P Q R S T U V W X Z _
All Classes All Packages
All Classes All Packages
All Classes All Packages
P
- panic() - Method in class antlr.CharScanner
- panic() - Static method in class antlr.Parser
-
Deprecated.as of 2.7.2. This method calls System.exit() and writes directly to stderr, which is usually not appropriate when a parser is embedded into a larger application. Since the method is
static
, it cannot be overridden to avoid these problems. ANTLR no longer uses this method internally or in generated code. - panic() - Method in class antlr.Tool
-
Deprecated.as of 2.7.2 use
Tool.fatalError(String)
. By default this method executesfatalError("panic");
. - panic() - Static method in class antlr.TreeParser
-
Deprecated.as of 2.7.2. This method calls System.exit() and writes directly to stderr, which is usually not appropriate when a parser is embedded into a larger application. Since the method is
static
, it cannot be overridden to avoid these problems. ANTLR no longer uses this method internally or in generated code. - panic(String) - Method in class antlr.CharScanner
-
This method is executed by ANTLR internally when it detected an illegal state that cannot be recovered from.
- panic(String) - Method in class antlr.Tool
-
Deprecated.as of 2.7.2 use
Tool.fatalError(String)
. By defaykt this method executesfatalError("panic: " + s);
. - paraphrase - Variable in class antlr.TokenSymbol
-
describes what token matches in "human terms"
- parent(File) - Method in class antlr.Tool
- parse(String) - Method in class antlr.NameSpace
-
Parse a C++ namespace declaration into seperate names splitting on :: We could easily parameterize this to make the delimiter a language-specific parameter, or use subclasses to support C++ namespaces versus java packages.
- Parser - Class in antlr
- Parser() - Constructor for class antlr.Parser
- Parser(ParserSharedInputState) - Constructor for class antlr.Parser
- ParserAdapter - Class in antlr.debug
- ParserAdapter() - Constructor for class antlr.debug.ParserAdapter
- parserClassName - Variable in class antlr.PythonCodeGenerator
- parserConsume(ParserTokenEvent) - Method in class antlr.debug.ParserAdapter
- parserConsume(ParserTokenEvent) - Method in class antlr.debug.ParserReporter
- parserConsume(ParserTokenEvent) - Method in class antlr.debug.ParserTokenAdapter
- parserConsume(ParserTokenEvent) - Method in interface antlr.debug.ParserTokenListener
- ParserController - Interface in antlr.debug
- parserEventSupport - Variable in class antlr.debug.LLkDebuggingParser
- ParserEventSupport - Class in antlr.debug
-
A class to assist in firing parser events NOTE: I intentionally _did_not_ synchronize the event firing and add/remove listener methods.
- ParserEventSupport(Object) - Constructor for class antlr.debug.ParserEventSupport
- ParserGrammar - Class in antlr
-
Parser-specific grammar subclass
- ParserGrammar(String, Tool, String) - Constructor for class antlr.ParserGrammar
- parserLA(ParserTokenEvent) - Method in class antlr.debug.ParserAdapter
- parserLA(ParserTokenEvent) - Method in class antlr.debug.ParserReporter
- parserLA(ParserTokenEvent) - Method in class antlr.debug.ParserTokenAdapter
- parserLA(ParserTokenEvent) - Method in interface antlr.debug.ParserTokenListener
- ParserListener - Interface in antlr.debug
- parserMatch(ParserMatchEvent) - Method in class antlr.debug.ParserAdapter
- parserMatch(ParserMatchEvent) - Method in class antlr.debug.ParserMatchAdapter
- parserMatch(ParserMatchEvent) - Method in interface antlr.debug.ParserMatchListener
- parserMatch(ParserMatchEvent) - Method in class antlr.debug.ParserReporter
- ParserMatchAdapter - Class in antlr.debug
- ParserMatchAdapter() - Constructor for class antlr.debug.ParserMatchAdapter
- ParserMatchEvent - Class in antlr.debug
- ParserMatchEvent(Object) - Constructor for class antlr.debug.ParserMatchEvent
- ParserMatchEvent(Object, int, int, Object, String, int, boolean, boolean) - Constructor for class antlr.debug.ParserMatchEvent
- ParserMatchListener - Interface in antlr.debug
- parserMatchNot(ParserMatchEvent) - Method in class antlr.debug.ParserAdapter
- parserMatchNot(ParserMatchEvent) - Method in class antlr.debug.ParserMatchAdapter
- parserMatchNot(ParserMatchEvent) - Method in interface antlr.debug.ParserMatchListener
- parserMatchNot(ParserMatchEvent) - Method in class antlr.debug.ParserReporter
- parserMismatch(ParserMatchEvent) - Method in class antlr.debug.ParserAdapter
- parserMismatch(ParserMatchEvent) - Method in class antlr.debug.ParserMatchAdapter
- parserMismatch(ParserMatchEvent) - Method in interface antlr.debug.ParserMatchListener
- parserMismatch(ParserMatchEvent) - Method in class antlr.debug.ParserReporter
- parserMismatchNot(ParserMatchEvent) - Method in class antlr.debug.ParserAdapter
- parserMismatchNot(ParserMatchEvent) - Method in class antlr.debug.ParserMatchAdapter
- parserMismatchNot(ParserMatchEvent) - Method in interface antlr.debug.ParserMatchListener
- parserMismatchNot(ParserMatchEvent) - Method in class antlr.debug.ParserReporter
- parserOptionsSpec() - Method in class antlr.ANTLRParser
- ParserReporter - Class in antlr.debug
- ParserReporter() - Constructor for class antlr.debug.ParserReporter
- ParserRoot - Variable in class antlr.preprocessor.Hierarchy
- ParserSharedInputState - Class in antlr
-
This object contains the data associated with an input stream of tokens.
- ParserSharedInputState() - Constructor for class antlr.ParserSharedInputState
- parserSpec(String) - Method in class antlr.ANTLRParser
- ParserTokenAdapter - Class in antlr.debug
- ParserTokenAdapter() - Constructor for class antlr.debug.ParserTokenAdapter
- ParserTokenEvent - Class in antlr.debug
- ParserTokenEvent(Object) - Constructor for class antlr.debug.ParserTokenEvent
- ParserTokenEvent(Object, int, int, int) - Constructor for class antlr.debug.ParserTokenEvent
- ParserTokenListener - Interface in antlr.debug
- parseSeparatedList(String, char) - Static method in class antlr.Tool
-
Parse a list such as "f1.g;f2.g;..." and return a Vector of the elements.
- ParseTree - Class in antlr
- ParseTree() - Constructor for class antlr.ParseTree
- ParseTreeDebugParser - Class in antlr.debug
-
Override the standard matching and rule entry/exit routines to build parse trees.
- ParseTreeDebugParser(int) - Constructor for class antlr.debug.ParseTreeDebugParser
- ParseTreeDebugParser(ParserSharedInputState, int) - Constructor for class antlr.debug.ParseTreeDebugParser
- ParseTreeDebugParser(TokenBuffer, int) - Constructor for class antlr.debug.ParseTreeDebugParser
- ParseTreeDebugParser(TokenStream, int) - Constructor for class antlr.debug.ParseTreeDebugParser
- ParseTreeRule - Class in antlr
- ParseTreeRule(String) - Constructor for class antlr.ParseTreeRule
- ParseTreeRule(String, int) - Constructor for class antlr.ParseTreeRule
- ParseTreeToken - Class in antlr
- ParseTreeToken(Token) - Constructor for class antlr.ParseTreeToken
- patchlevel - Static variable in class antlr.Version
- pathToFile(String) - Method in class antlr.Tool
-
given a filename, strip off the directory prefix (if any) and return it.
- perform(String, String) - Method in class antlr.build.Tool
-
Find a class named after the app and then find a method within that is named after the action.
- PLUS - Static variable in interface antlr.ANTLRTokenTypes
- pop() - Method in class antlr.collections.impl.LList
-
Pop the top element of the stack off.
- pop() - Method in interface antlr.collections.Stack
- pop() - Method in class antlr.TokenStreamSelector
- postscript - Variable in class antlr.CppBlockFinishingInfo
- postscript - Variable in class antlr.CSharpBlockFinishingInfo
- postscript - Variable in class antlr.JavaBlockFinishingInfo
- postscript - Variable in class antlr.PythonBlockFinishingInfo
- preambleAction - Variable in class antlr.Grammar
- preambleAction - Variable in class antlr.preprocessor.Grammar
- predefined - Variable in class antlr.preprocessor.Grammar
- PREDICTING - Static variable in class antlr.debug.SemanticPredicateEvent
- prepareForAnalysis() - Method in class antlr.AlternativeBlock
- prepareForAnalysis() - Method in class antlr.RuleBlock
- preprocess() - Method in class antlr.preprocessor.Tool
- preprocessedArgList() - Method in class antlr.preprocessor.Tool
-
create new arg list with correct length to pass to ANTLR
- Preprocessor - Class in antlr.preprocessor
- Preprocessor(ParserSharedInputState) - Constructor for class antlr.preprocessor.Preprocessor
- Preprocessor(TokenBuffer) - Constructor for class antlr.preprocessor.Preprocessor
- Preprocessor(TokenBuffer, int) - Constructor for class antlr.preprocessor.Preprocessor
- Preprocessor(TokenStream) - Constructor for class antlr.preprocessor.Preprocessor
- Preprocessor(TokenStream, int) - Constructor for class antlr.preprocessor.Preprocessor
- PreprocessorLexer - Class in antlr.preprocessor
- PreprocessorLexer(InputBuffer) - Constructor for class antlr.preprocessor.PreprocessorLexer
- PreprocessorLexer(LexerSharedInputState) - Constructor for class antlr.preprocessor.PreprocessorLexer
- PreprocessorLexer(InputStream) - Constructor for class antlr.preprocessor.PreprocessorLexer
- PreprocessorLexer(Reader) - Constructor for class antlr.preprocessor.PreprocessorLexer
- PreprocessorTokenTypes - Interface in antlr.preprocessor
- PreservingFileWriter - Class in antlr
-
PreservingFileWriter only overwrites target if the new file is different.
- PreservingFileWriter(String) - Constructor for class antlr.PreservingFileWriter
- prevAltElem - Variable in class antlr.DocBookCodeGenerator
- prevAltElem - Variable in class antlr.HTMLCodeGenerator
- print(String) - Method in class antlr.CodeGenerator
-
Output tab indent followed by a String, to the currentOutput stream.
- print(String) - Method in class antlr.JavaCodeGenerator
- print(String, int) - Method in class antlr.JavaCodeGenerator
- printAction(Token) - Method in class antlr.CppCodeGenerator
-
Print an action stored in a token surrounded by #line stuff
- printAction(String) - Method in class antlr.CodeGenerator
-
Print an action with leading tabs, attempting to preserve the current indentation level for multi-line actions Ignored if string is null.
- printAction(String) - Method in class antlr.JavaCodeGenerator
- printAction(String) - Method in class antlr.PythonCodeGenerator
- printAction(String, int) - Method in class antlr.JavaCodeGenerator
- printActionCode(String, int) - Method in class antlr.PythonCodeGenerator
- printGrammarAction(Grammar) - Method in class antlr.PythonCodeGenerator
- printHeaderAction(String) - Method in class antlr.CppCodeGenerator
-
Print a header action by #line stuff also process any tree construction
- println() - Method in class antlr.PrintWriterWithSMAP
- println(String) - Method in class antlr.CodeGenerator
-
Output tab indent followed by a String followed by newline, to the currentOutput stream.
- println(String) - Method in class antlr.CppCodeGenerator
-
Output tab indent followed by a String followed by newline, to the currentOutput stream.
- println(String) - Method in class antlr.JavaCodeGenerator
- println(String, int) - Method in class antlr.JavaCodeGenerator
- printMainFunc(String) - Method in class antlr.PythonCodeGenerator
- printSet(int, int, Lookahead) - Method in class antlr.DiagnosticCodeGenerator
-
Format a lookahead or follow set.
- printSet(int, int, Lookahead) - Method in class antlr.DocBookCodeGenerator
-
Format a lookahead or follow set.
- printSet(int, int, Lookahead) - Method in class antlr.HTMLCodeGenerator
-
Format a lookahead or follow set.
- printTabs() - Method in class antlr.CodeGenerator
-
Output the current tab indentation.
- printTabs() - Method in class antlr.PythonCodeGenerator
-
Create a Java code-generator using the given Grammar.
- PrintWriterWithSMAP - Class in antlr
- PrintWriterWithSMAP(OutputStream) - Constructor for class antlr.PrintWriterWithSMAP
- PrintWriterWithSMAP(OutputStream, boolean) - Constructor for class antlr.PrintWriterWithSMAP
- PrintWriterWithSMAP(Writer) - Constructor for class antlr.PrintWriterWithSMAP
- PrintWriterWithSMAP(Writer, boolean) - Constructor for class antlr.PrintWriterWithSMAP
- processActionCode(String, int) - Method in class antlr.PythonCodeGenerator
- processActionForSpecialSymbols(String, int, RuleBlock, ActionTransInfo) - Method in class antlr.CodeGenerator
-
Lexically process $ and # references within the action.
- processActionForSpecialSymbols(String, int, RuleBlock, ActionTransInfo) - Method in class antlr.CppCodeGenerator
-
Lexically process tree-specifiers in the action.
- processActionForSpecialSymbols(String, int, RuleBlock, ActionTransInfo) - Method in class antlr.CSharpCodeGenerator
-
Lexically process tree-specifiers in the action.
- processActionForSpecialSymbols(String, int, RuleBlock, ActionTransInfo) - Method in class antlr.DiagnosticCodeGenerator
- processActionForSpecialSymbols(String, int, RuleBlock, ActionTransInfo) - Method in class antlr.DocBookCodeGenerator
- processActionForSpecialSymbols(String, int, RuleBlock, ActionTransInfo) - Method in class antlr.HTMLCodeGenerator
- processActionForSpecialSymbols(String, int, RuleBlock, ActionTransInfo) - Method in class antlr.JavaCodeGenerator
-
Lexically process $var and tree-specifiers in the action.
- processActionForSpecialSymbols(String, int, RuleBlock, ActionTransInfo) - Method in class antlr.PythonCodeGenerator
-
Lexically process $var and tree-specifiers in the action.
- processArguments(String[]) - Method in class antlr.Grammar
-
Process command line arguments.
- processArguments(String[]) - Method in class antlr.LexerGrammar
-
Process command line arguments.
- processArguments(String[]) - Method in class antlr.ParserGrammar
-
Process command line arguments.
- processArguments(String[]) - Method in class antlr.Tool
-
Process the command-line arguments.
- processArguments(String[]) - Method in class antlr.TreeWalkerGrammar
-
Process command line arguments.
- processedAtomText - Variable in class antlr.StringLiteralElement
- processStringForASTConstructor(String) - Method in class antlr.CodeGenerator
-
Process a string for an simple expression for use in xx/action.g it is used to cast simple tokens/references to the right type for the generated language.
- processStringForASTConstructor(String) - Method in class antlr.CppCodeGenerator
-
Process a string for an simple expression for use in xx/action.g it is used to cast simple tokens/references to the right type for the generated language.
- processStringForASTConstructor(String) - Method in class antlr.CSharpCodeGenerator
-
Process a string for an simple expression for use in xx/action.g it is used to cast simple tokens/references to the right type for the generated language.
- PROGRAM_INIT_SIZE - Static variable in class antlr.TokenStreamRewriteEngine
- programs - Variable in class antlr.TokenStreamRewriteEngine
-
You may have multiple, named streams of rewrite operations.
- project_version - Static variable in class antlr.Version
- push(TokenStream) - Method in class antlr.TokenStreamSelector
- push(Object) - Method in class antlr.collections.impl.LList
-
Push an object onto the stack.
- push(Object) - Method in interface antlr.collections.Stack
- push(String) - Method in class antlr.TokenStreamSelector
- PythonBlockFinishingInfo - Class in antlr
- PythonBlockFinishingInfo() - Constructor for class antlr.PythonBlockFinishingInfo
- PythonBlockFinishingInfo(String, boolean, boolean, boolean) - Constructor for class antlr.PythonBlockFinishingInfo
- PythonCharFormatter - Class in antlr
- PythonCharFormatter() - Constructor for class antlr.PythonCharFormatter
- PythonCodeGenerator - Class in antlr
-
Generate MyParser.java, MyLexer.java and MyParserTokenTypes.java
- PythonCodeGenerator() - Constructor for class antlr.PythonCodeGenerator
All Classes All Packages