Class KeywordStandardProvider
- java.lang.Object
-
- com.e1c.g5.v8.dt.formatter.bsl.manager.KeywordStandardProvider
-
public class KeywordStandardProvider extends Object
This is keyword provider. It maps grammars keywords to be able provide standard keyword register as they are declared in grammar or in CamelCase as some of them are terminal rules.
-
-
Constructor Summary
Constructors Constructor Description KeywordStandardProvider(BslGrammarAccess bslGrammar)
Creates new instance with given bslGrammar
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getStandard(String keyword)
Returns standard representation of the given keyword
-
-
-
Constructor Detail
-
KeywordStandardProvider
public KeywordStandardProvider(BslGrammarAccess bslGrammar)
Creates new instance with given bslGrammar- Parameters:
bslGrammar
- The grammar to be used to get keywords, cannot benull
-
-