public abstract class ParseTools extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ParseTools.CaptureType |
static class |
ParseTools.CapturingGroup |
Constructor and Description |
---|
ParseTools() |
Modifier and Type | Method and Description |
---|---|
static ParseTools.CapturingGroup |
balancedCapture(char[] chars,
int startPos,
int endPos,
ParseTools.CaptureType type)
Return the index of the terminating character in the group, excluding markers.
|
static boolean |
isEscaped(char[] chars,
int cursor)
Return true if the character at the given cursor is escaped; otherwise, return false.
|
public static ParseTools.CapturingGroup balancedCapture(char[] chars, int startPos, int endPos, ParseTools.CaptureType type)
public static boolean isEscaped(char[] chars, int cursor)
Copyright © 2014 OCPsoft. All Rights Reserved.