#pragma warning restore IDE1006 // Benennungsstile /// <summary> /// Constructor of cGrammlatorInputApplication /// </summary> /// <param name="attributeStack">grammlator uses the attributeStack a) in grammlator generated code /// b) to return the attributes of output symbol (if any) and c) to get the attribute of input symbols /// </param> /// <param name="stateStack">the code generated by grammlator may need a state stack, which can be shared. /// </param> protected GrammlatorInputApplication(StackOfMultiTypeElements attributeStack, Stack <Int32> stateStack) : base(attributeStack) => _s = stateStack;
#pragma warning restore IDE1006 // Benennungsstile /// <summary> /// Constructor of cGrammlatorInputApplication /// </summary> /// <param name="attributeStack">grammlator uses the attributeStack a) in grammlator generated code /// b) to return the attributes of output symbol (if any) and c) to get the attribute of input symbols /// </param> protected GrammlatorInput(StackOfMultiTypeElements attributeStack) { _a = attributeStack; Accepted = true; }
#pragma warning restore IDE1006 // Benennungsstile /// <summary> /// Constructor of cGrammlatorInputApplication /// </summary> /// <param name="initialSizeOfAttributeStack">grammlator uses the attributeStack a) in grammlator generated code /// b) to return the attributes of output symbol (if any) and c) to get the attribute of input symbols /// </param> /// <param name="initialSizeOfStateStack">the code generated by grammlator may need a state stack, which can be shared. /// </param> protected GrammlatorApplication(Int32 initialSizeOfAttributeStack = 10, Int32 initialSizeOfStateStack = 10) { _a = new StackOfMultiTypeElements(initialSizeOfAttributeStack); _s = new Stack <Int32>(initialSizeOfStateStack); }