-
Notifications
You must be signed in to change notification settings - Fork 0
/
parser.h
224 lines (223 loc) · 4.62 KB
/
parser.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
/*
* TRABALHO DE COMPILADORES: IDENTADOR DE CÓDIGO FORTRAN 77
*
* ALUNOS:
* RAFAEL DELALIBERA RODRIGUES
* PAULO HENRIQUE ARANTES URGAL
*
* Arquivo: Parser.h
*
*/
void ProgramUnit();
void MainProgram();
void MainRange();
void EndProgramStmt();
void Body();
void BodyConstruct();
void SpecificationPartConstruct();
void DeclarationConstruct();
void FunctionSubprogram();
void FunctionRange();
void EndFunctionStmt();
void SubroutineSubprogram();
void SubroutineRange();
void EndSubroutineStmt();
void BlockDataSubprogram();
void EndBlockDataStmt();
void BlockDataBody();
void BlockDataBodyConstruct();
void SpecificationStmt();
void ExecutionPartConstruct();
void ExecutableConstruct();
void ActionStmt();
void ProgramStmt();
void EntryStmt();
void FunctionStmt();
void FunctionPrefix();
void FunctionParList();
void FunctionPars();
void FunctionPar();
void SubroutineStmt();
void SubroutineParList();
void SubroutinePars();
void SubroutinePar();
void BlockDataStmt();
void DimensionStmt();
void ArrayDeclaratorList();
void ArrayDeclarator();
void ArraySpec();
void ExplicitShapeSpecList();
void ExplicitShapeSpec();
void LowerBound();
void UpperBound();
void AssumedSizeSpec();
void EquivalenceStmt();
void EquivalenceSetList();
void EquivalenceSet();
void EquivalenceObjectList();
void EquivalenceObject();
void CommonStmt();
void Comlist();
void Comblock();
void CommonBlockObject();
void TypeDeclarationStmt();
void TypeSpec();
void EntityDeclList();
void EntityDecl();
void LengthSelector();
void ImplicitStmt();
void ImplicitSpecList();
void ImplicitSpec();
void CharLength();
void TypeParamValue();
void ParameterStmt();
void NamedConstantDefList();
void NamedConstantDef();
void NamedConstant();
void NamedConstantUse();
void ExternalStmt();
void ExternalNameList();
void IntrinsicStmt();
void IntrinsicList();
void SaveStmt();
void SavedEntityList();
void SavedEntity();
void SavedCommonBlock();
void DataStmt();
void Datalist();
void DataStmtSet();
void DataStmtObjectList();
void DataStmtObject();
void DataStmtValueList();
void DataStmtValue();
void DataImpliedDo();
void DataIDoObjectList();
void DataIDoObject();
void AssignmentStmt();
void SFExprList();
void GotoStmt();
void ComputedGotoStmt();
void CommaExp();
void LblRefList();
void LblRef();
void AssignedGotoStmt();
void VariableComma();
void ArithmeticIfStmt();
void IfConstruct();
void ThenPart();
void ElseIfConstruct();
void ElseConstruct();
void ElsePart();
void ConditionalBody();
void IfThenStmt();
void ElseIfStmt();
void ElseStmt();
void EndIfStmt();
void DoConstruct();
void LabelDoStmt();
void CommaLoopControl();
void LoopControl();
void ContinueStmt();
void StopStmt();
void PauseStmt();
void WriteStmt();
void ReadStmt();
void RdCtlSpec();
void RdUnitId();
void PrintStmt();
void IoControlSpecList();
void IoControlSpec();
void InputItemList();
void InputItem();
void OutputItemList();
void InputImpliedDo();
void OutputImpliedDo();
void OpenStmt();
void ConnectSpecList();
void ConnectSpec();
void CloseStmt();
void CloseSpecList();
void CloseSpec();
void InquireStmt();
void InquireSpecList();
void InquireSpec();
void BackspaceStmt();
void EndFileStmt();
void RewindStmt();
void PositionSpecList();
void PositonSpec();
void UnitIdentifier();
void FormatIdentifier();
void FormatStmt();
/* FORMAT SPEC TREATMENT WILL NOT BE DEALED */
void StmtFunctionStmt();
void StmtFunctionRange();
void SFDummyArgNameList();
void CallStmt();
void SubroutineArgList();
void SubroutineArg();
void FunctionReference();
void ComplexDataRef1();
void ComplexDataRef();
void SectionSubscriptList();
void SectionSubscript();
void Expr();
void Primary();
void Level1Expr();
void MultOperand();
void AddOperand();
void Level2Expr();
void PowerOp();
void MultiOp();
void AddOp();
void Sign();
void UFExpr();
void UFTerm();
void UFFactor();
void UFPrimary();
void CExpr();
void CPrimary();
void COperand();
void Level3Expr();
void ConcatOp();
void AndOperand();
void OrOperand();
void EquivOperand();
void Level5Expr();
void NotOp();
void AndOp();
void OrOp();
void EquivOp();
void RelOp();
void ArrayElement();
void SubstringRange();
void SubscriptTriplet();
void Name();
void Constant();
void UnsignedArithmeticConstant();
void ComplexConstant();
void LogicalConstant();
void Label();
void BlockDataName();
void CommonBlockName();
void DummyArgName();
void EntryName();
void ExternalName();
void FunctionName();
void ImpliedDoVariable();
void IntrinsicProcedureName();
void ObjectName();
void ProgramName();
void SFDummyArgName();
void SFVarName();
void SubroutineName();
void SubroutineNameUse();
void VariableName();
void ScalarVariable();
void Variable();
void SubscriptList();
void Subscript();
void LblDef();
void EOS();
void Expr();
void Impl();