if (args.get(0) instanceof Scalar) {
Scalar environment = (Scalar) args.get(0);
String value = environment.getValue().replace("\"", "").replace("'", "");
String path = sourceModule.getPath().toString();
Logger.debugMSG("indexing environment: " + value + " => " + path);
ReferenceInfo info = new ReferenceInfo(ISymfonyModelElement.ENVIRONMENT, instance.sourceStart(), instance.sourceEnd()-instance.sourceStart(), value, null, path);
requestor.addReference(info);
}
}
}
return super.visit(s);