Merge pull request #385 from Stebalien/fix-jetkeywordtoken-docstrings
Fix JetKeywordToken docstrings
This commit is contained in:
@@ -22,14 +22,14 @@ import org.jetbrains.annotations.NotNull;
|
|||||||
public class JetKeywordToken extends JetToken {
|
public class JetKeywordToken extends JetToken {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generate soft keyword (identifier that has a keyword meaning only in some contexts)
|
* Generate keyword (identifier that has a keyword meaning in all possible contexts)
|
||||||
*/
|
*/
|
||||||
public static JetKeywordToken keyword(String value) {
|
public static JetKeywordToken keyword(String value) {
|
||||||
return new JetKeywordToken(value, false);
|
return new JetKeywordToken(value, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generate keyword (identifier that has a keyword meaning in all possible contexts)
|
* Generate soft keyword (identifier that has a keyword meaning only in some contexts)
|
||||||
*/
|
*/
|
||||||
public static JetKeywordToken softKeyword(String value) {
|
public static JetKeywordToken softKeyword(String value) {
|
||||||
return new JetKeywordToken(value, true);
|
return new JetKeywordToken(value, true);
|
||||||
|
|||||||
Reference in New Issue
Block a user