diff --git a/src/xpath/commands/evaluateXPath.ts b/src/xpath/commands/evaluateXPath.ts index 4262467..fb9ff19 100644 --- a/src/xpath/commands/evaluateXPath.ts +++ b/src/xpath/commands/evaluateXPath.ts @@ -6,6 +6,16 @@ import { ExtensionState } from "../../extension"; import { EvaluatorResult, EvaluatorResultType, XPathEvaluator } from "../xpath-evaluator"; +class HistoricQuery { + constructor(uri: string, query: string) { + this.uri = uri; + this.query = query; + } + + uri: string; + query: string; +} + export async function evaluateXPath(editor: TextEditor, edit: TextEditorEdit): Promise { const config = workspace.getConfiguration(constants.extensionPrefix); @@ -92,13 +102,3 @@ export async function evaluateXPath(editor: TextEditor, edit: TextEditorEdit): P memento.update(constants.stateKeys.xPathQueryLast, query); } } - -class HistoricQuery { - constructor(uri: string, query: string) { - this.uri = uri; - this.query = query; - } - - uri: string; - query: string; -}