1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 22:31:36 +03:00

Add MemberAccess production matching for TreeSitter

This commit is contained in:
Rick Winfrey 2016-06-13 17:33:01 -05:00
parent 99cb26a809
commit 8e68a9de37

View File

@ -50,6 +50,8 @@ defaultCategoryForNodeName name = case name of
"identifier" -> Identifier "identifier" -> Identifier
"formal_parameters" -> Params "formal_parameters" -> Params
"statement_block" -> ExpressionStatements "statement_block" -> ExpressionStatements
"assignment" -> Assignment
"member_access" -> MemberAccess
_ -> Other name _ -> Other name
-- | Return a parser for a tree sitter language & document. -- | Return a parser for a tree sitter language & document.