mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-27 12:51:18 +00:00
Implement parsing for variable declarations. (#466)
Following the rules proposed in #339.
This commit is contained in:
1 parent
1ee826268c
commit
d8c724045e
4 files changed
+97
-9
No files matched your search
@@ -16,10 +16,12 @@
|
||||
// Declarations.
|
||||
CARBON_PARSE_NODE_KIND(DeclarationEnd)
|
||||
CARBON_PARSE_NODE_KIND(EmptyDeclaration)
|
||||
CARBON_PARSE_NODE_KIND(FunctionDeclaration)
|
||||
CARBON_PARSE_NODE_KIND(DeclaredName)
|
||||
CARBON_PARSE_NODE_KIND(FunctionDeclaration)
|
||||
CARBON_PARSE_NODE_KIND(ParameterListEnd)
|
||||
CARBON_PARSE_NODE_KIND(ParameterList)
|
||||
CARBON_PARSE_NODE_KIND(VariableDeclaration)
|
||||
CARBON_PARSE_NODE_KIND(VariableInitializer)
|
||||
CARBON_PARSE_NODE_KIND(FileEnd)
|
||||
|
||||
// Statements.
|
||||
|
||||
Reference in new issue
Block a user