gherkin.lexer
Class I18nLexer
java.lang.Object
gherkin.lexer.I18nLexer
- All Implemented Interfaces:
- Lexer
public class I18nLexer
- extends Object
- implements Lexer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
I18nLexer
public I18nLexer(Listener listener)
I18nLexer
public I18nLexer(Listener listener,
boolean forceRubyDummy)
I18nLexer
public I18nLexer(Listener listener,
boolean forceRubyDummy,
String isoCode)
getI18nLanguage
public I18n getI18nLanguage()
- Returns:
- the i18n language from the previous scanned source.
scan
public void scan(String source)
- Description copied from interface:
Lexer
- Lexes the source.
- Specified by:
scan in interface Lexer
- Parameters:
source - a string containing Gherkin source.
Copyright © 2013. All rights reserved.