|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectkawigi.editor.Interval
public class Interval
Represents a block of code that is logically delimited (like by parentheses, curly braces, or other matched constructs).
| Constructor Summary | |
|---|---|
Interval(int start,
int end,
int startind,
int endind,
java.lang.String name,
java.lang.String startString,
java.lang.String endString,
boolean block)
Constructs a new Interval with the given fields. |
|
| Method Summary | |
|---|---|
int |
getEndIndex()
Returns the literal index in the string of code that the block ends on. |
int |
getEndLine()
Returns the line number that the block ends on. |
java.lang.String |
getEndToken()
Returns the token ending this match. |
java.lang.String |
getName()
Returns the "name" of this block. |
int |
getStartIndex()
Returns the literal index in the string that the block starts on. |
int |
getStartLine()
Returns the line number that the block starts on. |
java.lang.String |
getStartToken()
Returns the token starting this match. |
boolean |
isBlock()
Returns true if this interval is appropriate for block marking on the left side of the code. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Interval(int start,
int end,
int startind,
int endind,
java.lang.String name,
java.lang.String startString,
java.lang.String endString,
boolean block)
| Method Detail |
|---|
public java.lang.String getName()
public int getStartLine()
public int getEndLine()
public int getStartIndex()
public int getEndIndex()
public java.lang.String getEndToken()
public java.lang.String getStartToken()
public boolean isBlock()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||