"-cmatch", "-cnotmatch", "-creplace", "-ccontains", "-cnotcontains", "-is", "-isnot", "-as", "-and", "-or", "-band", "-bor", "-not"};
private static String[] scopes = {"$script", "$global", "$function", "$local", "$private"};
public PowershellCodeScanner(PowershellColors pscolors) {
IToken comment = new Token(new TextAttribute(new Color(Display.getCurrent(), PowershellColors.COMMENT)));
IToken string = new Token(new TextAttribute(new Color(Display.getCurrent(), PowershellColors.STRING)));
IToken variable = new Token(new TextAttribute(new Color(Display.getCurrent(), PowershellColors.VARIABLE)));
IToken scope = new Token(new TextAttribute(new Color(Display.getCurrent(), PowershellColors.VARIABLE), null, SWT.BOLD));
IToken keyword = new Token(new TextAttribute(new Color(Display.getCurrent(), PowershellColors.KEYWORD), null, SWT.BOLD));
IToken dashKeyword = new Token(new TextAttribute(new Color(Display.getCurrent(), PowershellColors.DASH_KEYWORD), null, SWT.BOLD));
List<IRule> rules= new ArrayList<IRule>();
// Add rule for single line comments.
rules.add(new EndOfLineRule("#", comment));