- ParamInst - Class in cfg
-
A generic class representing a three-address code parameter instruction
(ParamInst).
- ParamInst(int, String, String) - Constructor for class cfg.ParamInst
-
ParamInst constructor
- paramType - Variable in class cfg.ParamInst
-
Type of the parameter (e.g., "stdparam", "refparam", errparam")
- parent - Variable in class ast.Class_
-
The name of the parent of this class
- parse() - Method in class parser.Parser
-
Parse the program
- Parse11Expr() - Method in class parser.Parser
-
- ParseBlockStmt() - Method in class parser.Parser
-
- ParseBreakStmt() - Method in class parser.Parser
-
- ParseClass() - Method in class parser.Parser
-
- ParseConstBooleanExpr() - Method in class parser.Parser
-
- ParseConstIntExpr() - Method in class parser.Parser
-
- ParseConstStringExpr() - Method in class parser.Parser
-
- ParseDeclStmt() - Method in class parser.Parser
-
- ParseException - Exception in parser
-
This exception is thrown when parse errors are encountered.
- ParseException(Token, int[][], String[]) - Constructor for exception parser.ParseException
-
This constructor is used by the method "generateParseException"
in the generated parser.
- ParseException() - Constructor for exception parser.ParseException
-
The following constructors are for use by you for whatever
purpose you can think of.
- ParseException(String) - Constructor for exception parser.ParseException
-
Constructor with message.
- ParseExpr() - Method in class parser.Parser
-
- ParseExpr1() - Method in class parser.Parser
-
- ParseExpr10() - Method in class parser.Parser
-
- ParseExpr11() - Method in class parser.Parser
-
- ParseExpr2() - Method in class parser.Parser
-
- ParseExpr3() - Method in class parser.Parser
-
- ParseExpr4() - Method in class parser.Parser
-
- ParseExpr5() - Method in class parser.Parser
-
- ParseExpr6() - Method in class parser.Parser
-
- ParseExpr7() - Method in class parser.Parser
-
- ParseExpr8() - Method in class parser.Parser
-
- ParseExpr9() - Method in class parser.Parser
-
- ParseExprList() - Method in class parser.Parser
-
- ParseExprStmt() - Method in class parser.Parser
-
- ParseField(String, String, int) - Method in class parser.Parser
-
- ParseFormal() - Method in class parser.Parser
-
- ParseForStmt() - Method in class parser.Parser
-
- ParseIdentifier() - Method in class parser.Parser
-
- ParseIfStmt() - Method in class parser.Parser
-
- ParseMember() - Method in class parser.Parser
-
- ParseMemberAux(String, String, int) - Method in class parser.Parser
-
- ParseMethod(String, String, int) - Method in class parser.Parser
-
- ParseNewExpr() - Method in class parser.Parser
-
- ParseNewExprAux(String, int) - Method in class parser.Parser
-
- parser - package parser
-
- Parser - Class in parser
-
A class for performing syntactic analysis
- Parser(String[], boolean) - Constructor for class parser.Parser
-
Parser constructor
- Parser(InputStream) - Constructor for class parser.Parser
-
Constructor with InputStream.
- Parser(InputStream, String) - Constructor for class parser.Parser
-
Constructor with InputStream and supplied encoding
- Parser(Reader) - Constructor for class parser.Parser
-
Constructor.
- Parser(ParserTokenManager) - Constructor for class parser.Parser
-
Constructor with generated Token Manager.
- ParserConstants - Interface in parser
-
Token literal values and constants.
- ParseReturnStmt() - Method in class parser.Parser
-
- ParserTokenManager - Class in parser
-
Token Manager.
- ParserTokenManager(JavaCharStream) - Constructor for class parser.ParserTokenManager
-
Constructor.
- ParserTokenManager(JavaCharStream, int) - Constructor for class parser.ParserTokenManager
-
Constructor.
- ParseStmt() - Method in class parser.Parser
-
- ParseType() - Method in class parser.Parser
-
- ParseVarExpr() - Method in class parser.Parser
-
- ParseWhileStmt() - Method in class parser.Parser
-
- PHI - Static variable in class cfg.TACInst
-
Binary (boolean) OR opcode
- PhiInst - Class in cfg
-
A class representing a three-address code Phi instruction (BinaryPhiInst).
- PhiInst(String, String, int) - Constructor for class cfg.PhiInst
-
BinaryPhiInst constructor
- PLUS - Static variable in interface parser.ParserConstants
-
RegularExpression Id.
- predExpr - Variable in class ast.ForStmt
-
The predicate expression (null for no predicate -- must be boolean
expression)
- predExpr - Variable in class ast.IfStmt
-
The predicate expression
- predExpr - Variable in class ast.WhileStmt
-
The predicate expression
- prevCharIsCR - Variable in class parser.JavaCharStream
-
- prevCharIsLF - Variable in class parser.JavaCharStream
-
- print() - Method in class cfg.BasicBlock
-
Prints basic block -- for debugging
- print() - Method in class opt.Optimizer
-
Print out program
- printAll() - Method in class cfg.BasicBlock
-
Prints basic block and all connected basic blocks -- for debugging
Must be called using entrance block as reference object
- printDot(String) - Method in class opt.Optimizer
-
Outputs a .dot file for each non-builtin method for every class.
- Program - Class in ast
-
The Program class represents an entire program, which
consists of a list of classes (classList).
- Program(int, ClassList) - Constructor for class ast.Program
-
Program constructor