Class HutnScanner

java.lang.Object
org.eclipse.jface.text.rules.RuleBasedScanner
org.eclipse.epsilon.hutn.dt.editor.HutnScanner
All Implemented Interfaces:
org.eclipse.jface.text.rules.ICharacterScanner, org.eclipse.jface.text.rules.ITokenScanner

public class HutnScanner extends org.eclipse.jface.text.rules.RuleBasedScanner
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.eclipse.swt.graphics.Color
     
    static final org.eclipse.swt.graphics.Color
     
    static final org.eclipse.swt.graphics.Color
     
    static final org.eclipse.swt.graphics.Color
     
    static final org.eclipse.swt.graphics.Color
     

    Fields inherited from class org.eclipse.jface.text.rules.RuleBasedScanner

    fColumn, fDefaultReturnToken, fDelimiters, fDocument, fOffset, fRangeEnd, fRules, fTokenOffset, UNDEFINED

    Fields inherited from interface org.eclipse.jface.text.rules.ICharacterScanner

    EOF
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    setKeywords(List<String> keywords)
     

    Methods inherited from class org.eclipse.jface.text.rules.RuleBasedScanner

    getColumn, getLegalLineDelimiters, getTokenLength, getTokenOffset, nextToken, read, setDefaultReturnToken, setRange, setRules, unread

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • COMMENT

      public static final org.eclipse.swt.graphics.Color COMMENT
    • STRING

      public static final org.eclipse.swt.graphics.Color STRING
    • BUILTIN

      public static final org.eclipse.swt.graphics.Color BUILTIN
    • BOOLEAN

      public static final org.eclipse.swt.graphics.Color BOOLEAN
    • KEYWORD

      public static final org.eclipse.swt.graphics.Color KEYWORD
  • Constructor Details

    • HutnScanner

      public HutnScanner()
  • Method Details

    • setKeywords

      public void setKeywords(List<String> keywords)