You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: UDAnnotations.hs
+41-15Lines changed: 41 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -79,12 +79,20 @@ data CncLabels = CncLabels {
79
79
multiLabels::M.MapCat (Bool, Label), -- cat -> (if-head-first, other-labels) e.g. #multiword Prep head first fixed
80
80
auxCategories::M.MapCIdString, -- auxcat -> cat, in both gf2ud and ud2gf, e.g. #auxcat Cop AUX
81
81
changeLabels::M.MapLabel [(Label,Condition)], -- change to another label afterwards e.g. #change obj>obl above case
82
-
macroFunctions::M.MapCId(AbsType,(([CId],AbsTree),[(Label,[UDData])])), -- ud2gf only, e.g. #auxfun MkVPS_Fut will vp : Will -> VP -> VPS = MkVPS (TTAnt TFut ASimul) PPos vp ; aux head
82
+
macroFunctions::M.MapCIdMacroFunction, -- ud2gf only, e.g. #auxfun MkVPS_Fut will vp : Will -> VP -> VPS = MkVPS (TTAnt TFut ASimul) PPos vp ; aux head
83
83
altFunLabels::M.MapCId [[Label]], -- ud2gf only, e.g. #altfun ComplSlash head obl
84
84
disabledFunctions::M.MapFun()-- not to be used in ud2gf, e.g. #disable the_Det thePl_Det
85
85
86
86
}
87
87
88
+
dataMacroFunction=MacroFunction
89
+
{mfType::AbsType
90
+
, mfArgNames:: [CId]
91
+
, mfExpansion::AbsTree
92
+
, mfLabels:: [(Label, [UDData])]
93
+
}
94
+
deriving (Show)
95
+
88
96
dataCondition=
89
97
CAboveLabel-- to change a label if it dominates this label
0 commit comments