org.sonar.sslr.internal.text
Class SubText
java.lang.Object
org.sonar.sslr.internal.text.AbstractText
org.sonar.sslr.internal.text.SubText
- All Implemented Interfaces:
- Text
public class SubText
- extends AbstractText
SubText
public SubText(AbstractText text,
int start,
int end)
length
public int length()
- Returns:
- the number of characters in this text
toCharArray
public void toCharArray(int srcPos,
char[] dest,
int destPos,
int length)
- Specified by:
toCharArray in class AbstractText
getTransformationDepth
protected int getTransformationDepth()
- Specified by:
getTransformationDepth in class AbstractText
sequence
public TextCharSequence sequence()
- Description copied from interface:
Text
- Provides sequential access to characters.
Copyright © 2009-2014 SonarSource. All Rights Reserved.