Example #1
0
        public static GrammarRuleAlternative makeTerminal(ProgramTreeElementType.EnumType terminalType)
        {
            GrammarRuleAlternative result = new GrammarRuleAlternative(EnumType.TERMINAL);

            result.terminalType = terminalType;
            return(result);
        }
Example #2
0
 public ProgramTreeElement(ProgramTreeElementType.EnumType type) : base(new ProgramTreeElementType(type))
 {
 }