gherkin.formatter.model
Class BasicStatement
java.lang.Object
gherkin.formatter.Mappable
gherkin.formatter.model.BasicStatement
- All Implemented Interfaces:
- CommentHolder
- Direct Known Subclasses:
- DescribedStatement, Step
public abstract class BasicStatement
- extends Mappable
- implements CommentHolder
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicStatement
public BasicStatement(List<Comment> comments,
String keyword,
String name,
int line)
getLineRange
public Range getLineRange()
getFirstNonCommentLine
protected int getFirstNonCommentLine()
getComments
public List<Comment> getComments()
- Specified by:
getComments
in interface CommentHolder
getKeyword
public String getKeyword()
getName
public String getName()
getLine
public int getLine()
replay
public abstract void replay(Formatter formatter)
Copyright © 2011. All Rights Reserved.