Package org.syntax.jedit

Examples of org.syntax.jedit.KeywordMap$Keyword


  public static KeywordMap getKeywords()
  {
    if( ccKeywords == null )
    {
      ccKeywords = new KeywordMap( false );

      ccKeywords.add( "and", Token.KEYWORD3 );
      ccKeywords.add( "and_eq", Token.KEYWORD3 );
      ccKeywords.add( "asm", Token.KEYWORD2 ); //
      ccKeywords.add( "auto", Token.KEYWORD1 ); //
View Full Code Here


        super(getKeywordMap(), true);
    }

    public static KeywordMap getKeywordMap() {
        if (plsqlKeywords == null) {
            plsqlKeywords = new KeywordMap(true);
            addKeywords();
            addDataTypes();
            addSystemFunctions();
            addOperators();
            addSystemStoredProcedures();
View Full Code Here

        return token;
    }

    public static KeywordMap getKeywords() {
        if (eiffelKeywords == null) {
            eiffelKeywords = new KeywordMap(true);
            eiffelKeywords.add("alias", Token.KEYWORD1);
            eiffelKeywords.add("all", Token.KEYWORD1);
            eiffelKeywords.add("and", Token.KEYWORD1);
            eiffelKeywords.add("as", Token.KEYWORD1);
            eiffelKeywords.add("check", Token.KEYWORD1);
View Full Code Here

        return token;
    }

    public static KeywordMap getKeywords() {
        if (cKeywords == null) {
            cKeywords = new KeywordMap(false);
            cKeywords.add("char", Token.KEYWORD3);
            cKeywords.add("double", Token.KEYWORD3);
            cKeywords.add("enum", Token.KEYWORD3);
            cKeywords.add("float", Token.KEYWORD3);
            cKeywords.add("int", Token.KEYWORD3);
View Full Code Here

    public GroovyTokenMarker() {
        super(false, getKeywords());
    }

    public static KeywordMap getKeywords() {
        KeywordMap groovyKeywords = new KeywordMap(false);
        groovyKeywords.add("as", Token.KEYWORD1);
        groovyKeywords.add("assert", Token.KEYWORD1);
        groovyKeywords.add("break", Token.KEYWORD1);
        groovyKeywords.add("case", Token.KEYWORD1);
        groovyKeywords.add("catch", Token.KEYWORD1);
        groovyKeywords.add("class", Token.KEYWORD1);
        groovyKeywords.add("continue", Token.KEYWORD1);
        groovyKeywords.add("def", Token.KEYWORD1);
        groovyKeywords.add("default", Token.KEYWORD1);
        groovyKeywords.add("do", Token.KEYWORD1);
        groovyKeywords.add("else", Token.KEYWORD1);
        groovyKeywords.add("extends", Token.KEYWORD1);
        groovyKeywords.add("finally", Token.KEYWORD1);
        groovyKeywords.add("for", Token.KEYWORD1);
        groovyKeywords.add("if", Token.KEYWORD1);
        groovyKeywords.add("in", Token.KEYWORD1);
        groovyKeywords.add("implements", Token.KEYWORD1);
        groovyKeywords.add("import", Token.KEYWORD1);
        groovyKeywords.add("instanceof", Token.KEYWORD1);
        groovyKeywords.add("interface", Token.KEYWORD1);
        groovyKeywords.add("new", Token.KEYWORD1);
        groovyKeywords.add("package", Token.KEYWORD1);
        groovyKeywords.add("property", Token.KEYWORD1);
        groovyKeywords.add("return", Token.KEYWORD1);
        groovyKeywords.add("switch", Token.KEYWORD1);
        groovyKeywords.add("throw", Token.KEYWORD1);
        groovyKeywords.add("throws", Token.KEYWORD1);
        groovyKeywords.add("try", Token.KEYWORD1);
        groovyKeywords.add("while", Token.KEYWORD1);

        return groovyKeywords;
    }
View Full Code Here

        super(false, getKeywords());
    }

    public static KeywordMap getKeywords() {
        if (javaScriptKeywords == null) {
            javaScriptKeywords = new KeywordMap(false);
            javaScriptKeywords.add("function", Token.KEYWORD3);
            javaScriptKeywords.add("var", Token.KEYWORD3);
            javaScriptKeywords.add("else", Token.KEYWORD1);
            javaScriptKeywords.add("for", Token.KEYWORD1);
            javaScriptKeywords.add("if", Token.KEYWORD1);
View Full Code Here

        super(getKeywordMap(), true);
    }

    public static KeywordMap getKeywordMap() {
        if (tsqlKeywords == null) {
            tsqlKeywords = new KeywordMap(true);
            addKeywords();
            addDataTypes();
            addSystemFunctions();
            addOperators();
            addSystemStoredProcedures();
View Full Code Here

        super(true, getKeywords());
    }

    public static KeywordMap getKeywords() {
        if (idlKeywords == null) {
            idlKeywords = new KeywordMap(false);

            idlKeywords.add("any", Token.KEYWORD3);
            idlKeywords.add("attribute", Token.KEYWORD1);
            idlKeywords.add("boolean", Token.KEYWORD3);
            idlKeywords.add("case", Token.KEYWORD1);
View Full Code Here

        return token;
    }

    public static KeywordMap getKeywords() {
        if (pyKeywords == null) {
            pyKeywords = new KeywordMap(false);
            pyKeywords.add("and", Token.KEYWORD3);
            pyKeywords.add("not", Token.KEYWORD3);
            pyKeywords.add("or", Token.KEYWORD3);
            pyKeywords.add("if", Token.KEYWORD1);
            pyKeywords.add("for", Token.KEYWORD1);
View Full Code Here

        super(true, getKeywords());
    }

    public static KeywordMap getKeywords() {
        if (ccKeywords == null) {
            ccKeywords = new KeywordMap(false);

            ccKeywords.add("and", Token.KEYWORD3);
            ccKeywords.add("and_eq", Token.KEYWORD3);
            ccKeywords.add("asm", Token.KEYWORD2); //
            ccKeywords.add("auto", Token.KEYWORD1); //
View Full Code Here

TOP

Related Classes of org.syntax.jedit.KeywordMap$Keyword

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.