kawigi.language
Class Skeleton

java.lang.Object
  |
  +--kawigi.language.Skeleton

public class Skeleton
extends java.lang.Object

Represents the combination of a String of source code and a location for the caret to be set.


Constructor Summary
Skeleton(java.lang.String source, int caretLocation)
          Creates a new Skeleton object with the given parameters for the code and caret location.
 
Method Summary
 int getCaret()
          Returns the index within the skeleton at which the caret should start out.
 java.lang.String getSource()
          Returns the source code for this skeleton.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Skeleton

public Skeleton(java.lang.String source,
                int caretLocation)
Creates a new Skeleton object with the given parameters for the code and caret location.

Method Detail

getSource

public java.lang.String getSource()
Returns the source code for this skeleton.


getCaret

public int getCaret()
Returns the index within the skeleton at which the caret should start out.