Canon/Canon.Core/Enums/GrammarEnums.cs

38 lines
637 B
C#
Raw Normal View History

2024-03-09 23:57:43 +08:00
namespace Canon.Core.Enums;
public enum NonTerminatorType
{
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
}