| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.m2m.atl.adt.ui.text.AtlHeuristicScanner.SkippingScopeMatch
protected class AtlHeuristicScanner.SkippingScopeMatch
Acts like character match, but skips all scopes introduced by parenthesis, brackets, and braces.
| Constructor Summary | |
|---|---|
| AtlHeuristicScanner.SkippingScopeMatch(char ch)Creates a new instance. | |
| AtlHeuristicScanner.SkippingScopeMatch(char[] chars)Creates a new instance. | |
| Method Summary | |
|---|---|
|  boolean | stop(char ch,
     int position,
     boolean forward)Instructs the scanner to return the current position. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public AtlHeuristicScanner.SkippingScopeMatch(char ch)
ch - the single character to matchpublic AtlHeuristicScanner.SkippingScopeMatch(char[] chars)
chars - the chars to match.| Method Detail | 
|---|
public boolean stop(char ch,
                    int position,
                    boolean forward)
AtlHeuristicScanner.StopCondition
stop in interface AtlHeuristicScanner.StopConditionch - the char at the current positionposition - the current positionforward - the iteration direction
true if the stop condition is met.| 
 | Copyright 2007 IBM Corporation and others. All Rights Reserved. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||