public override void Parse(AST_Directive input) { if (input.childNodes == null || input.childNodes.Count < 1) { throw new AST_BadFormatException("Input directive node has too few children", input.charIndex); } if (input.childNodes.Count > 1) { throw new AST_BadFormatException("Input directive node has too many children", input.charIndex); } input.childNodes.First.Value.Accept(this); }
public abstract void Parse(AST_Directive input);