public override PerCederberg.Grammatica.Runtime.Node ExitFunctionCallExpression(PerCederberg.Grammatica.Runtime.Production node) { var childValues = this.GetChildValues(node); string name = (string)childValues[0]; childValues.RemoveAt(0); var args = new ArgumentList(childValues); var funcCall = new FunctionCallElement(name, args); node.AddValue(funcCall); return node; }
public override PerCederberg.Grammatica.Runtime.Node ExitIndexExpression(PerCederberg.Grammatica.Runtime.Production node) { var childValues = this.GetChildValues(node); var args = new ArgumentList(childValues); var e = new IndexerElement(args); node.AddValue(e); return node; }
internal FunctionCallElement(string name, ICollection<MethodInfo> methods, ArgumentList arguments) { MyName = name; MyArguments = arguments; MyMethods = methods; }
public IndexerElement(ArgumentList indexer) { MyIndexerElements = indexer; }
public FunctionCallElement(string name, ArgumentList arguments) { this.MyName = name; MyArguments = arguments; }