Canon/Canon.Core/Enums/GrammarEnums.cs
2024-03-10 15:37:18 +08:00

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
}