MarkDirective.jape 686 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Phase: DoMarkDirective
Input: Directive Token Date Modified Opening_Words Relative_Location
Options: control = appelt

Rule: DoMarkDirective
(
	{Token.string=="cette"} {Directive} |  {Directive} {Relative_Location.majorType == "above"}|
	
		{Directive} ({Modified})? 
		(({Token.kind =="numberPrime"} |{Token.kind=="number"}){Token.string=="/"}({Token.kind =="numberPrime"} |{Token.kind=="number"})({Token.string=="/"}{Token.kind=="word"})?)*
		({Token.string=="du"}{Token.string=="Conseil"} | {Token.string=="du"}{Token.string=="conseil"})* ({Opening_Words})? ({Token.string=="des"}{Token.string=="CEE"})* ({Token.string=="du"} {Date})*	
)
:reference
-->
:reference.Directive_ref = {}