14 using System.Collections.Generic;
17 using Irony.Interpreter;
20 namespace Irony.Interpreter.Ast {
29 base.Init(context, treeNode);
30 TargetRef = AddChild(
"Target", treeNode.
ChildNodes[0]);
31 _targetName = treeNode.ChildNodes[0].FindTokenAndGetText();
32 Arguments = AddChild(
"Args", treeNode.
ChildNodes[1]);
33 AsString =
"Call " + _targetName;
37 TargetRef.Evaluate(context, AstMode.Read);
41 Arguments.Evaluate(context, AstMode.Read);
ParseTreeNodeList ChildNodes
override void Init(ParsingContext context, ParseTreeNode treeNode)
override void EvaluateNode(EvaluationContext context, AstMode mode)
static string ErrVarIsNotCallable
Looks up a localized string similar to Variable {0} is not a callable function..