Changeset 49:8bad1ac1a236 in livinglogic.java.ul4

Show
Ignore:
Timestamp:
05/31/08 16:00:39 (11 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Message:

Make start and end protected and add getters.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/src/com/livinglogic/sxtl/AST.java

    r47 r49  
    33abstract class AST 
    44{ 
    5     public int start; 
    6     public int end; 
     5    protected int start; 
     6    protected int end; 
    77 
    88    public AST(int start, int end) 
     
    1212    } 
    1313 
     14    public int getStart() 
     15    { 
     16        return start; 
     17    } 
     18 
     19    public int getEnd() 
     20    { 
     21        return end; 
     22    } 
     23 
    1424    abstract public String getType(); 
    1525