private static Parser <SyntaxToken, JassCompilationUnitSyntax> GetCompilationUnitParser()
 {
     return(Newline.Many().Then(DeclarationParser.Many()).Then(FunctionParser.Many(),
                                                               (declarations, functions) => new JassCompilationUnitSyntax(declarations.ToImmutableArray(), functions.ToImmutableArray()))
            .Before(End));
 }