Skip to content

Commit

Permalink
Removed names of attribtues from the header file where it is not requ…
Browse files Browse the repository at this point in the history
…ired
  • Loading branch information
lambdafunction committed Oct 5, 2010
1 parent 406863c commit 502e85f
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions regex.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ class regexNode{

//Operators
virtual regexNode * simplify() = 0;
regexNode * operator + (regexNode& b);
regexNode * operator + (regexNode& );
regexNode * operator ++ (int);//The int is used to indicate that the operator is postfix.
regexNode * operator - (regexNode& b);
friend ostream& operator << (ostream& s, regexNode* a);
friend ostream& operator << (ostream& s, regexNode& a);
friend istream& operator >> (istream& s, regexNode& a);
regexNode * operator - (regexNode& );
friend ostream& operator << (ostream& , regexNode* );
friend ostream& operator << (ostream& , regexNode& );
friend istream& operator >> (istream& , regexNode& );


//Delete functions
Expand Down Expand Up @@ -146,7 +146,7 @@ class unionNode: public binaryRegexNode{
public:

unionNode();
unionNode( regexNode * leftChild, regexNode * rightChild);
unionNode( regexNode * , regexNode * );

bool isUnion();
bool isUnionTree();
Expand All @@ -167,7 +167,7 @@ class concatNode: public binaryRegexNode{
public:

concatNode();
concatNode(regexNode * leftChild, regexNode * rightChild);
concatNode(regexNode * , regexNode * );

bool isConcat();

Expand All @@ -181,7 +181,7 @@ class concatNode: public binaryRegexNode{


//void operator << (ostream& s, regex& a);
ostream& operator << (ostream& s, regexNode* a);
ostream& operator << (ostream& s, regexNode& a);
istream& operator >> (istream& s, regexNode& a);
ostream& operator << (ostream& , regexNode* );
ostream& operator << (ostream& , regexNode& );
istream& operator >> (istream& , regexNode& );

0 comments on commit 502e85f

Please sign in to comment.