42 lines
719 B
C#
42 lines
719 B
C#
namespace Canon.Core.Enums;
|
|
|
|
public enum NonTerminatorType
|
|
{
|
|
/// <summary>
|
|
/// 拓广文法
|
|
/// </summary>
|
|
StartNonTerminator,
|
|
ProgramStruct,
|
|
ProgramHead,
|
|
ProgramBody,
|
|
IdentifierList,
|
|
ConstDeclarations,
|
|
VarDeclarations,
|
|
SubprogramDeclarations,
|
|
CompoundStatement,
|
|
ConstDeclaration,
|
|
ConstValue,
|
|
VarDeclaration,
|
|
Type,
|
|
BasicType,
|
|
Range,
|
|
Subprogram,
|
|
SubprogramHead,
|
|
SubprogramBody,
|
|
FormalParameter,
|
|
ParameterList,
|
|
Parameter,
|
|
VarParameter,
|
|
ValueParameter,
|
|
StatementList,
|
|
Statement,
|
|
Variable,
|
|
Expression,
|
|
ProcedureCall,
|
|
ElsePart,
|
|
ExpressionList,
|
|
SimpleExpression,
|
|
Term,
|
|
Factor
|
|
}
|