rewrite-impl-config 1.0.5.Final

org.ocpsoft.rewrite.bind.parse
Class ParseTools

java.lang.Object
  extended by org.ocpsoft.rewrite.bind.parse.ParseTools

public abstract class ParseTools
extends Object

Author:
Lincoln Baxter, III

Constructor Summary
ParseTools()
           
 
Method Summary
static CapturingGroup balancedCapture(char[] chars, int startPos, int endPos, 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParseTools

public ParseTools()
Method Detail

balancedCapture

public static CapturingGroup balancedCapture(char[] chars,
                                             int startPos,
                                             int endPos,
                                             CaptureType type)
Return the index of the terminating character in the group, excluding markers.


isEscaped

public static boolean isEscaped(char[] chars,
                                int cursor)
Return true if the character at the given cursor is escaped; otherwise, return false.


rewrite-impl-config 1.0.5.Final

Copyright © 2012 OCPsoft. All Rights Reserved.