~ubuntu-branches/ubuntu/wily/agda/wily-proposed

« back to all changes in this revision

Viewing changes to src/full/Agda/Syntax/Parser/Tokens.hs

  • Committer: Package Import Robot
  • Author(s): Iain Lane
  • Date: 2014-08-05 06:38:12 UTC
  • mfrom: (1.1.6)
  • Revision ID: package-import@ubuntu.com-20140805063812-io8e77niomivhd49
Tags: 2.4.0.2-1
* [6e140ac] Imported Upstream version 2.4.0.2
* [2049fc8] Update Build-Depends to match control
* [93dc4d4] Install the new primitives
* [e48f40f] Fix typo dev→doc

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
    ) where
8
8
 
9
9
import Agda.Syntax.Literal (Literal)
10
 
import Agda.Syntax.Concrete.Name (Name, QName)
11
10
import Agda.Syntax.Position
12
11
 
13
12
data Keyword
19
18
        | KwInductive | KwCoInductive
20
19
        | KwHiding | KwUsing | KwRenaming | KwTo | KwPublic
21
20
        | KwOPTIONS | KwBUILTIN | KwLINE
22
 
        | KwCOMPILED_DATA | KwCOMPILED_TYPE | KwCOMPILED | KwCOMPILED_EPIC | KwCOMPILED_JS
 
21
        | KwCOMPILED_DATA | KwCOMPILED_TYPE | KwCOMPILED | KwCOMPILED_EXPORT
 
22
        | KwCOMPILED_EPIC | KwCOMPILED_JS
23
23
        | KwIMPORT | KwIMPOSSIBLE | KwETA | KwNO_TERMINATION_CHECK | KwSTATIC
24
 
        | KwQuoteGoal | KwQuote | KwQuoteTerm | KwUnquote | KwSyntax | KwPatternSyn
 
24
        | KwQuoteGoal | KwQuoteContext | KwQuote | KwQuoteTerm | KwUnquote | KwSyntax
 
25
        | KwPatternSyn
25
26
    deriving (Eq, Show)
26
27
 
27
28
layoutKeywords :: [Keyword]
37
38
        | SymOpenBrace        | SymCloseBrace
38
39
        | SymOpenVirtualBrace | SymCloseVirtualBrace
39
40
        | SymOpenPragma       | SymClosePragma | SymEllipsis | SymDotDot
 
41
        | SymEndComment -- ^ A misplaced end-comment "-}".
40
42
    deriving (Eq, Show)
41
43
 
42
44
data Token