Skip to content
Snippets Groups Projects
Commit 17fceee4 authored by Sven Gestegård Robertz's avatar Sven Gestegård Robertz
Browse files

Small change to AST, fixed Intention -> Annotation

parent a1a16851
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,13 @@ Specification ::= Decl*;
abstract Decl ::= TypeInstance /Signature/;
TypeInstance ::= DataType <Name:String> Annotation*;
Annotation ::= <Key:String> <Value:String>;
Intention : Annotation;
DocString : Annotation;
TypeDecl : Decl;
SampleDecl : Decl;
......@@ -17,13 +24,6 @@ IntSignatureLine : DataSignatureLine ::= <Data:int>;
StringSignatureLine : DataSignatureLine ::= <Data:String>;
TypeRefSignatureLine : SignatureLine ::= Decl;
Annotation ::= <Key:String> <Value:String>;
Intention : Annotation;
DocString : Annotation;
TypeInstance ::= DataType <Name:String> Annotation*;
Field : TypeInstance;
abstract DataType;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment