KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > ro > infoiasi > donald > compiler > lexer > ParenthesisLeft


1 package ro.infoiasi.donald.compiler.lexer;
2
3 class ParenthesisLeft extends ExpToken {
4     private ParenthesisRight close;
5     ParenthesisLeft(int strIndex, int tokenNo) { super(strIndex, tokenNo); }
6     public ParenthesisRight pair() { return close; }
7     void setPair(ParenthesisRight close) {
8         this.close = close;
9     }
10     public String JavaDoc toString() { return "("; }
11 }
12
Popular Tags