public But(Text stepText, MultilineText multilineTextArgument, Table tableArg) : base(stepText, multilineTextArgument, tableArg) { }
// $ANTLR end "wordchar" // $ANTLR start "multilineText" // SpecFlowLangWalker.g:229:1: multilineText returns [MultilineText multilineText] : ^( MULTILINETEXT (line_= line )* indent_= indent ) ; public MultilineText multilineText() // throws RecognitionException [1] { MultilineText multilineText = default(MultilineText); string line_ = default(string); string indent_ = default(string); var lines = new StringBuilder(); try { // SpecFlowLangWalker.g:236:5: ( ^( MULTILINETEXT (line_= line )* indent_= indent ) ) // SpecFlowLangWalker.g:236:9: ^( MULTILINETEXT (line_= line )* indent_= indent ) { Match(input,MULTILINETEXT,FOLLOW_MULTILINETEXT_in_multilineText1780); Match(input, Token.DOWN, null); // SpecFlowLangWalker.g:237:13: (line_= line )* do { int alt27 = 2; int LA27_0 = input.LA(1); if ( (LA27_0 == LINE) ) { alt27 = 1; } switch (alt27) { case 1 : // SpecFlowLangWalker.g:237:14: line_= line { PushFollow(FOLLOW_line_in_multilineText1797); line_ = line(); state.followingStackPointer--; lines.Append(line_); } break; default: goto loop27; } } while (true); loop27: ; // Stops C# compiler whining that label 'loop27' has no statements PushFollow(FOLLOW_indent_in_multilineText1817); indent_ = indent(); state.followingStackPointer--; Match(input, Token.UP, null); } multilineText = new MultilineText(lines.ToString(), indent_); } catch (RecognitionException re) { ReportError(re); Recover(input,re); } finally { } return multilineText; }