Change to use nodePath instead of sourceRange for Operations (#7320)
* Add NodePath to operations * Change to use nodePath to get pathToNode instead of sourceRange * Add additional node path unit test * Update output * Fix import statement NodePaths * Update output * Factor into function
This commit is contained in:
		@ -29,6 +29,20 @@ description: Operations executed kw_fn_too_few_args.kcl
 | 
			
		||||
        }
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    "nodePath": {
 | 
			
		||||
      "steps": [
 | 
			
		||||
        {
 | 
			
		||||
          "type": "ProgramBodyItem",
 | 
			
		||||
          "index": 1
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
          "type": "VariableDeclarationDeclaration"
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
          "type": "VariableDeclarationInit"
 | 
			
		||||
        }
 | 
			
		||||
      ]
 | 
			
		||||
    },
 | 
			
		||||
    "sourceRange": []
 | 
			
		||||
  }
 | 
			
		||||
]
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user