public override void OnReferenceExpression(ReferenceExpression node) { if (PhantomDslEngine.IsTargetMethod(node.ParentNode)) { ReplaceCurrentNode(new StringLiteralExpression(node.Name)); } }
static bool IsTargetDependencyArray(Node node) { return(node is ArrayLiteralExpression && PhantomDslEngine.IsTargetMethod(node.ParentNode)); }