// SyntaxList public bool TryParseDirectiveParameterSyntaxList(Lexer lexer, out DirectiveParameterSyntaxList result) { var list = new List <IDirectiveParameterSyntaxListContent>(1024); while (lexer.CanRead()) { { if (this.TryParseDirectiveParameterSyntax(lexer, out var r)) { list.Add(r); continue; } } } result = new DirectiveParameterSyntaxList(list); return(true); } // Parse method end
public DirectiveContentsSyntax(DirectiveNameSyntax Identifier, DirectiveParameterSyntaxList DirectiveParameters) { this.Identifier = Identifier; this.DirectiveParameters = DirectiveParameters; }