Skip to content

feat(extraction): add CFML support (.cfc/.cfm/.cfs)#2

Open
ghedwards wants to merge 1 commit into
mainfrom
claude/cfml-codegraph-support-9qf0j4
Open

feat(extraction): add CFML support (.cfc/.cfm/.cfs)#2
ghedwards wants to merge 1 commit into
mainfrom
claude/cfml-codegraph-support-9qf0j4

Conversation

@ghedwards

Copy link
Copy Markdown
Collaborator

Adds CodeGraph extraction for ColdFusion Markup Language using
tree-sitter-cfml's cfml and cfscript grammars. Handles both the legacy
tag-based style (/) and modern bare-script
style (component { ... }), delegating embedded tag bodies
to the cfscript grammar. .cfs files are routed through the same
extractor so anonymous component names fall back to the filename
consistently across both extensions, since CFML never declares a
component's name in source.

Includes extraction tests covering both dialects, extends/implements,
visibility, and regression coverage for the implicit-end-tag walk and
file-node containment.

Adds CodeGraph extraction for ColdFusion Markup Language using
tree-sitter-cfml's cfml and cfscript grammars. Handles both the legacy
tag-based style (<cfcomponent>/<cffunction>) and modern bare-script
style (component { ... }), delegating embedded <cfscript> tag bodies
to the cfscript grammar. .cfs files are routed through the same
extractor so anonymous component names fall back to the filename
consistently across both extensions, since CFML never declares a
component's name in source.

Includes extraction tests covering both dialects, extends/implements,
visibility, and regression coverage for the implicit-end-tag walk and
file-node containment.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants