示例#1
0
 static void EvaluateFunctionReturn(ParseNode functionNode)
 {
     var declarations = functionNode.GetDeclarations();
     var astVisitor = new AstTokenVisitor(functionNode, TokenKind.Identifier)
     {
         CallOnMatch = node => SearchFunctionCall(node, declarations)
     };
     astVisitor.Visit();
 }