| @root | classes |
class OpTable | ^ |
The OpTable class contains a map of valid operators and has a single member function used to quiery the map and see if a given character is a valid operator.
- Source:
- optable.h:16
- Author:
- jhc7@duke.edu, ag20@duke.edu
- Version:
- unknown
Contents | ^ |
Entity Type Scope Short Description ~OpTable destructor public virtual desctructor OpTable constructor public Default constructor for an OpTable class. OpTable constructor public automatically generated getPrecedence method public returns the precidence of the operator if it exists within the map isOperator method public returns true if op is contained within the map operator = operator public automatically generated
destructor ~OpTable | ? ^ > |
virtual desctructor
- Source:
- optable.h:28
- Code:
public virtual ~ OpTable ( )
constructor OpTable | ? ^ < > |
Default constructor for an OpTable class.It initializes the map of operators as well.
- Source:
- optable.h:23
- Code:
public OpTable ( )
constructor OpTable | ? ^ < > |
automatically generated
- Source:
- optable.h
- Code:
public OpTable ( const OpTable & )
method getPrecedence | ? ^ < > |
returns the precidence of the operator if it exists within the map
- Source:
- optable.h:40
- Code:
public int getPrecedence ( char op )
method isOperator | ? ^ < > |
returns true if op is contained within the map
- Source:
- optable.h:34
- Code:
public bool isOperator ( char op )
operator = | ? ^ < > |
automatically generated
- Source:
- optable.h
- Code:
public OpTable & operator = ( const OpTable & )
Created Sun Oct 6 20:57:01 2002.
This documentation was generated automatically by
ccdoc v0.8 r26 2001/11/28 bin_opt_suncc_solaris-2.8.
Click here to submit a bug report or feature request.
Click here to return to the top of the page.