gherkin.formatter.model
Class BasicStatement
java.lang.Object
gherkin.formatter.Mappable
gherkin.formatter.model.BasicStatement
- All Implemented Interfaces:
- CommentHolder, Serializable
- Direct Known Subclasses:
- DescribedStatement, Step
public abstract class BasicStatement
- extends Mappable
- implements CommentHolder
- See Also:
- Serialized Form
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,
Integer line)
getLineRange
public Range getLineRange()
getFirstNonCommentLine
protected Integer getFirstNonCommentLine()
getComments
public List<Comment> getComments()
- Specified by:
getComments
in interface CommentHolder
getKeyword
public String getKeyword()
getName
public String getName()
getLine
public Integer getLine()
replay
public abstract void replay(Formatter formatter)
Copyright © 2013. All rights reserved.