mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 22:02:55 +01:00
Implement parsing for variable declarations. (#466)
Following the rules proposed in #339.
This commit is contained in:
@@ -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