Ejemplo n.º 1
0
 internal override void Check()
 {
     // Number of children fits required number of args
     TreeAnalyzer.AssertTree(Children.Count == SyntaxInfo.GetFuncArg(Name), "Wrong number of children");
     // Checks whether the function exist
     TreeAnalyzer.AssertTree(Const.IsReservedName(Name), "Unknown function");
 }