[转载]VFR Programming Language v1.3 PDF 2010-2-12
Contents1 Introduction.....................................................................................................1
1.1 Overview..............................................................................................1
1.2 Target Audience.....................................................................................1
1.3 Related Information................................................................................1
1.4 Terms...................................................................................................1
2 VFR Description in BNF......................................................................................3
2.1 VFR Programming Keywords....................................................................3
2.1.1 // (comment marker).................................................................3
2.1.2 #define...................................................................................4
2.1.3 #include..................................................................................4
2.2 VFR Program.........................................................................................4
2.3 VFR Data Struct Definition.......................................................................5
2.4 VFR FormSet Definition...........................................................................6
2.5 VFR FormSet List Definition.....................................................................7
2.6 VFR Default Stores Definition...................................................................7
2.7 VFR Variable Store Definition...................................................................8
2.7.1 VFR Buffer Store Definition.........................................................8
2.7.2 VFR EFI Variable Store Definition.................................................8
2.7.3 VFR Variable Name Store Definition.............................................8
2.8 VFR FormSet DisableIf Definition..............................................................9
2.9 VFR FormSet SuppressIf Definition............................................................9
2.10 VFR General Token Definition.................................................................10
2.10.1 GUID Definition.......................................................................10
2.10.2 String & String Identifier Definition............................................10
2.10.3 Number Definition...................................................................10
2.10.4 VFR Statement Header Definition...............................................10
2.10.5 VFR Question Header Definition.................................................11
2.10.6 VFR Constant Value Definition...................................................11
2.10.7 VFR Statement Image & Locked Tag Definition............................12
2.11 VFR Form Definition..............................................................................12
2.11.1 VFR Form Map Definition..........................................................13
2.11.2 VFR Image Statement Definition................................................13
2.11.3 VFR Locked Statement Definition...............................................13
2.11.4 VFR Rule Statement Definition..................................................13
2.11.5 VFR Statement Definition.........................................................14
2.11.6 VFR Question Type Statements Definition...................................17
2.11.7 VFR Conditional Type Statements Definition................................32
2.11.8 VFR GUID Statement Definition.................................................33
2.12 VFR Expression Statement Definition.......................................................34
2.12.1 OR........................................................................................34
2.12.2 AND......................................................................................34
2.12.3 bitwiseor................................................................................34
2.12.4 bitwiseand.............................................................................34
2.12.5 equal.....................................................................................35
2.12.6 compare................................................................................35
2.12.7 shift......................................................................................35
iii
2.12.8 add/minus..............................................................................35
2.12.9 multiply/divide/modulo............................................................36
2.12.10 cast terms..............................................................................36
2.12.11 atom terms............................................................................36
页:
[1]