public CommentDefinitionBlock(PossiblySpecified<bool> startsParagraph, CommentDefinitionBlockPrelude prelude, IEnumerable<CommentDefinitionBlockStatement> body, List<ParseError> errors)
			: base(errors)
		{
			StartsParagraph = startsParagraph;
			Prelude = prelude;
			Body = body.ToList();
		}
Пример #2
0
		public UnknownStatement(PossiblySpecified<bool> startsParagraph, PossiblySpecified<int> indentationDepth, string content, IEnumerable<int> comments,
			IEnumerable<ParseError> errors) : base(errors)
		{
			StartsParagraph = startsParagraph;
			IndentationDepth = indentationDepth;
			Content = content;
			Comments = comments.ToArray();
		}
Пример #3
0
		public BlankLine(PossiblySpecified<int> indentationDepth, IEnumerable<ParseError> errors) : base(errors)
		{
			IndentationDepth = indentationDepth;
		}
Пример #4
0
		public UnknownPrelude(PossiblySpecified<int> indentationDepth, [NotNull] string content, IEnumerable<int> comments, [NotNull] IEnumerable<ParseError> errors) : base(errors)
		{
			IndentationDepth = indentationDepth;
			Content = content;
			Comments = comments.ToArray();
		}
Пример #5
0
		public CommentDefinition(PossiblySpecified<bool> startsParagraph, int commentId, [NotNull] string content, [NotNull] IEnumerable<ParseError> errors) : base(errors)
		{
			StartsParagraph = startsParagraph;
			CommentId = commentId;
			Content = content;
		}