org.jetbrains.jet.lexer
Class JetKeywordToken

java.lang.Object
  extended by com.intellij.psi.tree.IElementType
      extended by org.jetbrains.jet.lexer.JetToken
          extended by org.jetbrains.jet.lexer.JetKeywordToken

public class JetKeywordToken
extends JetToken


Nested Class Summary
 
Nested classes/interfaces inherited from class com.intellij.psi.tree.IElementType
com.intellij.psi.tree.IElementType.Predicate
 
Field Summary
 
Fields inherited from class com.intellij.psi.tree.IElementType
EMPTY_ARRAY, FIRST_TOKEN_INDEX, MAX_INDEXED_TYPES, TRUE
 
Method Summary
 java.lang.String getValue()
           
 boolean isSoft()
           
static JetKeywordToken keyword(java.lang.String value)
          Generate keyword (identifier that has a keyword meaning in all possible contexts)
static JetKeywordToken softKeyword(java.lang.String value)
          Generate soft keyword (identifier that has a keyword meaning only in some contexts)
 
Methods inherited from class com.intellij.psi.tree.IElementType
enumerate, find, getIndex, getLanguage, isLeftBound, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

keyword

public static JetKeywordToken keyword(java.lang.String value)
Generate keyword (identifier that has a keyword meaning in all possible contexts)


softKeyword

public static JetKeywordToken softKeyword(java.lang.String value)
Generate soft keyword (identifier that has a keyword meaning only in some contexts)


getValue

public java.lang.String getValue()

isSoft

public boolean isSoft()