org.ocleditor.internal.ui.editor
Class OclPartitionScanner

java.lang.Object
  extended byorg.eclipse.jface.text.rules.RuleBasedScanner
      extended byorg.eclipse.jface.text.rules.BufferedRuleBasedScanner
          extended byorg.eclipse.jface.text.rules.RuleBasedPartitionScanner
              extended byorg.ocleditor.internal.ui.editor.OclPartitionScanner
All Implemented Interfaces:
org.eclipse.jface.text.rules.ICharacterScanner, org.eclipse.jface.text.rules.IPartitionTokenScanner, org.eclipse.jface.text.rules.ITokenScanner

public class OclPartitionScanner
extends org.eclipse.jface.text.rules.RuleBasedPartitionScanner

Partions the OCL file in the partions "OCL comments" and "OCL code". Each partion is handled individually.


Field Summary
static java.lang.String OCL_COMMENT
           
static java.lang.String OCL_DEFAULT
           
 
Fields inherited from interface org.eclipse.jface.text.rules.ICharacterScanner
EOF
 
Constructor Summary
OclPartitionScanner()
           
 
Methods inherited from class org.eclipse.jface.text.rules.RuleBasedPartitionScanner
nextToken, setPartialRange, setPredicateRules, setRange, setRules
 
Methods inherited from class org.eclipse.jface.text.rules.BufferedRuleBasedScanner
read, unread
 
Methods inherited from class org.eclipse.jface.text.rules.RuleBasedScanner
getColumn, getLegalLineDelimiters, getTokenLength, getTokenOffset, setDefaultReturnToken
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.jface.text.rules.ITokenScanner
getTokenLength, getTokenOffset
 

Field Detail

OCL_DEFAULT

public static final java.lang.String OCL_DEFAULT
See Also:
Constant Field Values

OCL_COMMENT

public static final java.lang.String OCL_COMMENT
See Also:
Constant Field Values
Constructor Detail

OclPartitionScanner

public OclPartitionScanner()