mirror of
https://github.com/GayPizzaSpecifications/pork.git
synced 2025-08-07 07:01:32 +00:00
language: implement let definitions
This commit is contained in:
@ -16,6 +16,7 @@ digraph A {
|
||||
type_FunctionCall [shape=box,label="FunctionCall"]
|
||||
type_ArgumentSpec [shape=box,label="ArgumentSpec"]
|
||||
type_FunctionDefinition [shape=box,label="FunctionDefinition"]
|
||||
type_LetDefinition [shape=box,label="LetDefinition"]
|
||||
type_If [shape=box,label="If"]
|
||||
type_ImportDeclaration [shape=box,label="ImportDeclaration"]
|
||||
type_IntegerLiteral [shape=box,label="IntegerLiteral"]
|
||||
@ -58,6 +59,7 @@ digraph A {
|
||||
type_Expression -> type_Break
|
||||
type_Expression -> type_Continue
|
||||
type_Definition -> type_FunctionDefinition
|
||||
type_Definition -> type_LetDefinition
|
||||
type_Declaration -> type_ImportDeclaration
|
||||
type_Definition -> type_Symbol [style=dotted]
|
||||
type_Definition -> type_DefinitionModifiers [style=dotted]
|
||||
@ -80,6 +82,9 @@ digraph A {
|
||||
type_FunctionDefinition -> type_ArgumentSpec [style=dotted]
|
||||
type_FunctionDefinition -> type_Block [style=dotted]
|
||||
type_FunctionDefinition -> type_Native [style=dotted]
|
||||
type_LetDefinition -> type_DefinitionModifiers [style=dotted]
|
||||
type_LetDefinition -> type_Symbol [style=dotted]
|
||||
type_LetDefinition -> type_Expression [style=dotted]
|
||||
type_If -> type_Expression [style=dotted]
|
||||
type_If -> type_Block [style=dotted]
|
||||
type_ImportDeclaration -> type_Symbol [style=dotted]
|
||||
|
Reference in New Issue
Block a user