language-csharp-0.0.1: C# source code manipulation

Safe HaskellNone
LanguageHaskell2010

Language.CSharp.Parser

Description

This module containg the parsing of C# resulting in the abstract syntax tree defined in Language.CSharp.Syntax. This module exports all other specific parsing modules.

Synopsis

Documentation

parser Source #

Arguments

:: String

The original source file name.

-> [Positioned Token]

The list of tokens resulting from the lexer.

-> Either ParseError CompilationUnit 

Parses the given list of tokens and returns either a parsing error or the abstract syntax tree.