I'm looking for feedback on <https://cfmleditor.gi...
# cfml-general
g
I'm looking for feedback on https://cfmleditor.github.io/tree-sitter-cfml/ , can you break it using basic / real world CFML or CFSCRIPT grammar ( I care less about specific tags, but you can report these as well ), do you have any questions, can you assist ?
r
Stripped down and modified version of some code in production that produces multiple errors.
Copy code
import SETTINGS;

component {
	boolean function hasTest(required com.someCompany.SomeObject myObj) {
    	var tests = queryExecute(
        	"
                SELECT testId
                FROM Tests
                WHERE userId = :userId AND testDate IS NOT NULL;
            ",
            { userId: { cfsqltype: "integer", value: myObject.getUserId() } }
    	);
        
        return tests.recordCount;
    }
}
g
thanks, I'll add it to the list of tests
@Rodney that test should be passing on https://cfmleditor.github.io/tree-sitter-cfml/ now
you might have to clear your cache / use the "disable cache" in your network / dev tools
and query text is something I plan to come back around to
👍🏻 1