1
1
mirror of https://github.com/github/semantic.git synced 2024-11-24 08:54:07 +03:00

Update for TypeScript grammar changes

This commit is contained in:
Timothy Clem 2017-08-03 08:49:20 -07:00
parent f38dc3f578
commit 9f41276e3b
155 changed files with 354 additions and 585 deletions

View File

@ -161,6 +161,6 @@ categoryForTypeScriptName category = case category of
"type_annotation" -> Ty
"template_chars" -> TemplateString
"module" -> Module
"ambient_namespace" -> Namespace
"internal_module" -> Namespace
"interface_declaration" -> Interface
name -> Other name

View File

@ -1,9 +1,8 @@
{+(Program
(Other "variable_declaration"
(VarAssignment
(Other "destructuring_pattern"
(Object
(Other "assignment_pattern"
(Identifier)
(NumberLiteral))))
(Other "object_pattern"
(Other "assignment_pattern"
(Identifier)
(NumberLiteral)))
(Identifier))))+}

View File

@ -1,9 +1,8 @@
{+(Program
(Other "variable_declaration"
(VarAssignment
(Other "destructuring_pattern"
(Object
(Other "assignment_pattern"
(Identifier)
(NumberLiteral))))
(Other "object_pattern"
(Other "assignment_pattern"
(Identifier)
(NumberLiteral)))
(Identifier))))+}

View File

@ -1,9 +1,8 @@
{-(Program
(Other "variable_declaration"
(VarAssignment
(Other "destructuring_pattern"
(Object
(Other "assignment_pattern"
(Identifier)
(NumberLiteral))))
(Other "object_pattern"
(Other "assignment_pattern"
(Identifier)
(NumberLiteral)))
(Identifier))))-}

View File

@ -1,9 +1,8 @@
{-(Program
(Other "variable_declaration"
(VarAssignment
(Other "destructuring_pattern"
(Object
(Other "assignment_pattern"
(Identifier)
(NumberLiteral))))
(Other "object_pattern"
(Other "assignment_pattern"
(Identifier)
(NumberLiteral)))
(Identifier))))-}

View File

@ -1,11 +1,10 @@
(Program
(Other "variable_declaration"
(VarAssignment
(Other "destructuring_pattern"
(Object
(Other "assignment_pattern"
{ (Identifier)
->(Identifier) }
{ (NumberLiteral)
->(NumberLiteral) })))
(Other "object_pattern"
(Other "assignment_pattern"
{ (Identifier)
->(Identifier) }
{ (NumberLiteral)
->(NumberLiteral) }))
(Identifier))))

View File

@ -1,11 +1,10 @@
(Program
(Other "variable_declaration"
(VarAssignment
(Other "destructuring_pattern"
(Object
(Other "assignment_pattern"
{ (Identifier)
->(Identifier) }
{ (NumberLiteral)
->(NumberLiteral) })))
(Other "object_pattern"
(Other "assignment_pattern"
{ (Identifier)
->(Identifier) }
{ (NumberLiteral)
->(NumberLiteral) }))
(Identifier))))

View File

@ -1,9 +1,8 @@
(Program
(Other "variable_declaration"
(VarAssignment
(Other "destructuring_pattern"
(Object
(Other "assignment_pattern"
(Identifier)
(NumberLiteral))))
(Other "object_pattern"
(Other "assignment_pattern"
(Identifier)
(NumberLiteral)))
(Identifier))))

View File

@ -1,9 +1,8 @@
(Program
(Other "variable_declaration"
(VarAssignment
(Other "destructuring_pattern"
(Object
(Other "assignment_pattern"
(Identifier)
(NumberLiteral))))
(Other "object_pattern"
(Other "assignment_pattern"
(Identifier)
(NumberLiteral)))
(Identifier))))

View File

@ -2,7 +2,7 @@
(ExpressionStatements
(Constructor
(FunctionCall
(Other "reserved_identifier")
(Identifier)
(Identifier)
(NumberLiteral)
(StringLiteral)))))+}

View File

@ -2,7 +2,7 @@
(ExpressionStatements
(Constructor
(FunctionCall
(Other "reserved_identifier")
(Identifier)
(Identifier)
(NumberLiteral)
(StringLiteral)))))+}

View File

@ -2,7 +2,7 @@
(ExpressionStatements
(Constructor
(FunctionCall
(Other "reserved_identifier")
(Identifier)
(Identifier)
(NumberLiteral)
(StringLiteral)))))-}

View File

@ -2,7 +2,7 @@
(ExpressionStatements
(Constructor
(FunctionCall
(Other "reserved_identifier")
(Identifier)
(Identifier)
(NumberLiteral)
(StringLiteral)))))-}

View File

@ -2,7 +2,7 @@
(ExpressionStatements
(Constructor
(FunctionCall
(Other "reserved_identifier")
(Identifier)
(Identifier)
(NumberLiteral)
{ (StringLiteral)

View File

@ -2,7 +2,7 @@
(ExpressionStatements
(Constructor
(FunctionCall
(Other "reserved_identifier")
(Identifier)
(Identifier)
(NumberLiteral)
{ (StringLiteral)

View File

@ -2,7 +2,7 @@
(ExpressionStatements
(Constructor
(FunctionCall
(Other "reserved_identifier")
(Identifier)
(Identifier)
(NumberLiteral)
(StringLiteral)))))

View File

@ -2,7 +2,7 @@
(ExpressionStatements
(Constructor
(FunctionCall
(Other "reserved_identifier")
(Identifier)
(Identifier)
(NumberLiteral)
(StringLiteral)))))

View File

@ -1,4 +1,3 @@
{+(Program
(ExpressionStatements
(TemplateString
(TemplateString))))+}
(TemplateString)))+}

View File

@ -1,4 +1,3 @@
{+(Program
(ExpressionStatements
(TemplateString
(TemplateString))))+}
(TemplateString)))+}

View File

@ -1,4 +1,3 @@
{-(Program
(ExpressionStatements
(TemplateString
(TemplateString))))-}
(TemplateString)))-}

View File

@ -1,4 +1,3 @@
{-(Program
(ExpressionStatements
(TemplateString
(TemplateString))))-}
(TemplateString)))-}

View File

@ -1,5 +1,4 @@
(Program
(ExpressionStatements
(TemplateString
{ (TemplateString)
->(TemplateString) })))
{ (TemplateString)
->(TemplateString) }))

View File

@ -1,5 +1,4 @@
(Program
(ExpressionStatements
(TemplateString
{ (TemplateString)
->(TemplateString) })))
{ (TemplateString)
->(TemplateString) }))

View File

@ -1,4 +1,3 @@
(Program
(ExpressionStatements
(TemplateString
(TemplateString))))
(TemplateString)))

View File

@ -1,4 +1,3 @@
(Program
(ExpressionStatements
(TemplateString
(TemplateString))))
(TemplateString)))

View File

@ -5,11 +5,10 @@
(FieldDecl
(Identifier)
(Ty
(Other "type_reference"
(Identifier))))))
(Identifier)))))
(Other "ambient_declaration"
(Other "ambient_variable"
(Other "ambient_binding"
(Other "variable_declaration"
(VarAssignment
(Identifier)
(Ty
(Other "predefined_type")))))

View File

@ -35,5 +35,4 @@
(Other "call_signature"
(Params)
(Ty
(Other "type_reference"
(Identifier)))))))+}
(Identifier))))))+}

View File

@ -5,11 +5,10 @@
(FieldDecl
(Identifier)
(Ty
(Other "type_reference"
(Identifier))))))
(Identifier)))))
(Other "ambient_declaration"
(Other "ambient_variable"
(Other "ambient_binding"
(Other "variable_declaration"
(VarAssignment
(Identifier)
(Ty
(Other "predefined_type")))))

View File

@ -35,5 +35,4 @@
(Other "call_signature"
(Params)
(Ty
(Other "type_reference"
(Identifier)))))))-}
(Identifier))))))-}

View File

@ -9,17 +9,15 @@
{-(FieldDecl
(Identifier)
(Ty
(Other "type_reference"
(Identifier))))-}))
{+(Other "ambient_declaration"
(Interface
(Identifier)))+}
{-(Other "ambient_declaration"
(Other "ambient_variable"
(Other "ambient_binding"
(Identifier)))-}))
(Other "ambient_declaration"
{+(Interface
(Identifier))+}
{-(Other "variable_declaration"
(VarAssignment
(Identifier)
(Ty
(Other "predefined_type")))))-}
(Other "predefined_type"))))-})
{-(Other "ambient_declaration"
(Other "ambient_function"
(Identifier)
@ -96,5 +94,4 @@
(Other "call_signature"
(Params)
(Ty
(Other "type_reference"
(Identifier))))))+})
(Identifier)))))+})

View File

@ -5,11 +5,10 @@
(FieldDecl
(Identifier)
(Ty
(Other "type_reference"
(Identifier))))))+}
(Identifier)))))+}
{+(Other "ambient_declaration"
(Other "ambient_variable"
(Other "ambient_binding"
(Other "variable_declaration"
(VarAssignment
(Identifier)
(Ty
(Other "predefined_type")))))+}
@ -98,5 +97,4 @@
(Other "call_signature"
(Params)
(Ty
(Other "type_reference"
(Identifier))))))-})
(Identifier)))))-})

View File

@ -5,11 +5,10 @@
(FieldDecl
(Identifier)
(Ty
(Other "type_reference"
(Identifier))))))
(Identifier)))))
(Other "ambient_declaration"
(Other "ambient_variable"
(Other "ambient_binding"
(Other "variable_declaration"
(VarAssignment
(Identifier)
(Ty
(Other "predefined_type")))))

View File

@ -35,5 +35,4 @@
(Other "call_signature"
(Params)
(Ty
(Other "type_reference"
(Identifier)))))))
(Identifier))))))

View File

@ -7,14 +7,12 @@
(Other "union_type"
(Other "predefined_type")
(Other "predefined_type"))
(Other "type_reference"
(Identifier)))
(Other "type_reference"
(Identifier))
(Other "generic_type"
(Identifier)
(Other "type_arguments"
(Other "union_type"
(Other "union_type"
(Other "predefined_type")
(Other "predefined_type"))
(Other "type_reference"
(Identifier)))))))))+}
(Identifier))))))))+}

View File

@ -6,14 +6,12 @@
(Other "union_type"
(Other "predefined_type")
(Other "predefined_type"))
(Other "type_reference"
(Identifier)))
(Other "type_reference"
(Identifier))
(Other "generic_type"
(Identifier)
(Other "type_arguments"
(Other "union_type"
(Other "union_type"
(Other "predefined_type")
(Other "predefined_type"))
(Other "type_reference"
(Identifier))))))))+}
(Identifier)))))))+}

View File

@ -7,14 +7,12 @@
(Other "union_type"
(Other "predefined_type")
(Other "predefined_type"))
(Other "type_reference"
(Identifier)))
(Other "type_reference"
(Identifier))
(Other "generic_type"
(Identifier)
(Other "type_arguments"
(Other "union_type"
(Other "union_type"
(Other "predefined_type")
(Other "predefined_type"))
(Other "type_reference"
(Identifier)))))))))-}
(Identifier))))))))-}

View File

@ -6,14 +6,12 @@
(Other "union_type"
(Other "predefined_type")
(Other "predefined_type"))
(Other "type_reference"
(Identifier)))
(Other "type_reference"
(Identifier))
(Other "generic_type"
(Identifier)
(Other "type_arguments"
(Other "union_type"
(Other "union_type"
(Other "predefined_type")
(Other "predefined_type"))
(Other "type_reference"
(Identifier))))))))-}
(Identifier)))))))-}

View File

@ -6,17 +6,15 @@
(Other "union_type"
(Other "predefined_type")
(Other "predefined_type"))
(Other "type_reference"
(Identifier)))
(Other "type_reference"
(Identifier))
(Other "generic_type"
(Identifier)
(Other "type_arguments"
(Other "union_type"
(Other "union_type"
(Other "predefined_type")
(Other "predefined_type"))
(Other "type_reference"
(Identifier)))))))+}
(Identifier))))))+}
{-(Other "ambient_declaration"
(Other "type_alias_declaration"
(Identifier)
@ -25,14 +23,12 @@
(Other "union_type"
(Other "predefined_type")
(Other "predefined_type"))
(Other "type_reference"
(Identifier)))
(Other "type_reference"
(Identifier))
(Other "generic_type"
(Identifier)
(Other "type_arguments"
(Other "union_type"
(Other "union_type"
(Other "predefined_type")
(Other "predefined_type"))
(Other "type_reference"
(Identifier))))))))-})
(Identifier)))))))-})

View File

@ -7,17 +7,15 @@
(Other "union_type"
(Other "predefined_type")
(Other "predefined_type"))
(Other "type_reference"
(Identifier)))
(Other "type_reference"
(Identifier))
(Other "generic_type"
(Identifier)
(Other "type_arguments"
(Other "union_type"
(Other "union_type"
(Other "predefined_type")
(Other "predefined_type"))
(Other "type_reference"
(Identifier))))))))+}
(Identifier)))))))+}
{-(Other "type_alias_declaration"
(Identifier)
(Other "union_type"
@ -25,14 +23,12 @@
(Other "union_type"
(Other "predefined_type")
(Other "predefined_type"))
(Other "type_reference"
(Identifier)))
(Other "type_reference"
(Identifier))
(Other "generic_type"
(Identifier)
(Other "type_arguments"
(Other "union_type"
(Other "union_type"
(Other "predefined_type")
(Other "predefined_type"))
(Other "type_reference"
(Identifier)))))))-})
(Identifier))))))-})

View File

@ -7,14 +7,12 @@
(Other "union_type"
(Other "predefined_type")
(Other "predefined_type"))
(Other "type_reference"
(Identifier)))
(Other "type_reference"
(Identifier))
(Other "generic_type"
(Identifier)
(Other "type_arguments"
(Other "union_type"
(Other "union_type"
(Other "predefined_type")
(Other "predefined_type"))
(Other "type_reference"
(Identifier)))))))))
(Identifier))))))))

View File

@ -6,14 +6,12 @@
(Other "union_type"
(Other "predefined_type")
(Other "predefined_type"))
(Other "type_reference"
(Identifier)))
(Other "type_reference"
(Identifier))
(Other "generic_type"
(Identifier)
(Other "type_arguments"
(Other "union_type"
(Other "union_type"
(Other "predefined_type")
(Other "predefined_type"))
(Other "type_reference"
(Identifier))))))))
(Identifier)))))))

View File

@ -4,5 +4,4 @@
(Identifier)
(Ty
(Other "array_type"
(Other "type_reference"
(Identifier)))))))+}
(Identifier))))))+}

View File

@ -4,7 +4,5 @@
(Identifier)
(Ty
(Other "tuple_type"
(Other "type_reference"
(Identifier))
(Other "type_reference"
(Identifier)))))))+}
(Identifier)
(Identifier))))))+}

View File

@ -4,5 +4,4 @@
(Identifier)
(Ty
(Other "array_type"
(Other "type_reference"
(Identifier)))))))-}
(Identifier))))))-}

View File

@ -4,7 +4,5 @@
(Identifier)
(Ty
(Other "tuple_type"
(Other "type_reference"
(Identifier))
(Other "type_reference"
(Identifier)))))))-}
(Identifier)
(Identifier))))))-}

View File

@ -4,7 +4,5 @@
(Identifier)
(Ty
(Other "tuple_type"
(Other "type_reference"
(Identifier))
{+(Other "type_reference"
(Identifier))+})))))
(Identifier)
{+(Identifier)+})))))

View File

@ -4,7 +4,5 @@
(Identifier)
(Ty
(Other "array_type"
(Other "type_reference"
(Identifier))
{-(Other "type_reference"
(Identifier))-})))))
(Identifier)
{-(Identifier)-})))))

View File

@ -4,5 +4,4 @@
(Identifier)
(Ty
(Other "array_type"
(Other "type_reference"
(Identifier)))))))
(Identifier))))))

View File

@ -4,7 +4,5 @@
(Identifier)
(Ty
(Other "tuple_type"
(Other "type_reference"
(Identifier))
(Other "type_reference"
(Identifier)))))))
(Identifier)
(Identifier))))))

View File

@ -1,9 +1,8 @@
{+(Program
(Other "variable_declaration"
(VarAssignment
(Other "destructuring_pattern"
(Object
(Other "assignment_pattern"
(Identifier)
(NumberLiteral))))
(Other "object_pattern"
(Other "assignment_pattern"
(Identifier)
(NumberLiteral)))
(Identifier))))+}

View File

@ -1,9 +1,8 @@
{+(Program
(Other "variable_declaration"
(VarAssignment
(Other "destructuring_pattern"
(Object
(Other "assignment_pattern"
(Identifier)
(NumberLiteral))))
(Other "object_pattern"
(Other "assignment_pattern"
(Identifier)
(NumberLiteral)))
(Identifier))))+}

View File

@ -1,9 +1,8 @@
{-(Program
(Other "variable_declaration"
(VarAssignment
(Other "destructuring_pattern"
(Object
(Other "assignment_pattern"
(Identifier)
(NumberLiteral))))
(Other "object_pattern"
(Other "assignment_pattern"
(Identifier)
(NumberLiteral)))
(Identifier))))-}

View File

@ -1,9 +1,8 @@
{-(Program
(Other "variable_declaration"
(VarAssignment
(Other "destructuring_pattern"
(Object
(Other "assignment_pattern"
(Identifier)
(NumberLiteral))))
(Other "object_pattern"
(Other "assignment_pattern"
(Identifier)
(NumberLiteral)))
(Identifier))))-}

View File

@ -1,11 +1,10 @@
(Program
(Other "variable_declaration"
(VarAssignment
(Other "destructuring_pattern"
(Object
(Other "assignment_pattern"
{ (Identifier)
->(Identifier) }
{ (NumberLiteral)
->(NumberLiteral) })))
(Other "object_pattern"
(Other "assignment_pattern"
{ (Identifier)
->(Identifier) }
{ (NumberLiteral)
->(NumberLiteral) }))
(Identifier))))

View File

@ -1,11 +1,10 @@
(Program
(Other "variable_declaration"
(VarAssignment
(Other "destructuring_pattern"
(Object
(Other "assignment_pattern"
{ (Identifier)
->(Identifier) }
{ (NumberLiteral)
->(NumberLiteral) })))
(Other "object_pattern"
(Other "assignment_pattern"
{ (Identifier)
->(Identifier) }
{ (NumberLiteral)
->(NumberLiteral) }))
(Identifier))))

View File

@ -1,9 +1,8 @@
(Program
(Other "variable_declaration"
(VarAssignment
(Other "destructuring_pattern"
(Object
(Other "assignment_pattern"
(Identifier)
(NumberLiteral))))
(Other "object_pattern"
(Other "assignment_pattern"
(Identifier)
(NumberLiteral)))
(Identifier))))

View File

@ -1,9 +1,8 @@
(Program
(Other "variable_declaration"
(VarAssignment
(Other "destructuring_pattern"
(Object
(Other "assignment_pattern"
(Identifier)
(NumberLiteral))))
(Other "object_pattern"
(Other "assignment_pattern"
(Identifier)
(NumberLiteral)))
(Identifier))))

View File

@ -7,8 +7,7 @@
(Identifier)))
(Other "class_heritage"
(Other "extends_clause"
(Other "type_reference"
(Identifier))))
(Identifier)))
(FieldDecl
(Identifier)
(NumberLiteral))

View File

@ -7,8 +7,7 @@
(Identifier)))
(Other "class_heritage"
(Other "extends_clause"
(Other "type_reference"
(Identifier))))
(Identifier)))
(Method
(Identifier)
(Params

View File

@ -7,8 +7,7 @@
(Identifier)))
(Other "class_heritage"
(Other "extends_clause"
(Other "type_reference"
(Identifier))))
(Identifier)))
(FieldDecl
(Identifier)
(NumberLiteral))

View File

@ -7,8 +7,7 @@
(Identifier)))
(Other "class_heritage"
(Other "extends_clause"
(Other "type_reference"
(Identifier))))
(Identifier)))
(Method
(Identifier)
(Params

View File

@ -9,9 +9,8 @@
->(Identifier) }))
(Other "class_heritage"
(Other "extends_clause"
(Other "type_reference"
{ (Identifier)
->(Identifier) })))
{ (Identifier)
->(Identifier) }))
{+(Method
(Identifier)
(Params

View File

@ -9,9 +9,8 @@
->(Identifier) }))
(Other "class_heritage"
(Other "extends_clause"
(Other "type_reference"
{ (Identifier)
->(Identifier) })))
{ (Identifier)
->(Identifier) }))
{+(FieldDecl
(Identifier)
(NumberLiteral))+}

View File

@ -7,8 +7,7 @@
(Identifier)))
(Other "class_heritage"
(Other "extends_clause"
(Other "type_reference"
(Identifier))))
(Identifier)))
(FieldDecl
(Identifier)
(NumberLiteral))

View File

@ -7,8 +7,7 @@
(Identifier)))
(Other "class_heritage"
(Other "extends_clause"
(Other "type_reference"
(Identifier))))
(Identifier)))
(Method
(Identifier)
(Params

View File

@ -2,7 +2,7 @@
(ExpressionStatements
(Constructor
(FunctionCall
(Other "reserved_identifier")
(Identifier)
(Identifier)
(NumberLiteral)
(StringLiteral)))))+}

View File

@ -2,7 +2,7 @@
(ExpressionStatements
(Constructor
(FunctionCall
(Other "reserved_identifier")
(Identifier)
(Identifier)
(NumberLiteral)
(StringLiteral)))))+}

View File

@ -2,7 +2,7 @@
(ExpressionStatements
(Constructor
(FunctionCall
(Other "reserved_identifier")
(Identifier)
(Identifier)
(NumberLiteral)
(StringLiteral)))))-}

View File

@ -2,7 +2,7 @@
(ExpressionStatements
(Constructor
(FunctionCall
(Other "reserved_identifier")
(Identifier)
(Identifier)
(NumberLiteral)
(StringLiteral)))))-}

View File

@ -2,7 +2,7 @@
(ExpressionStatements
(Constructor
(FunctionCall
(Other "reserved_identifier")
(Identifier)
(Identifier)
(NumberLiteral)
{ (StringLiteral)

View File

@ -2,7 +2,7 @@
(ExpressionStatements
(Constructor
(FunctionCall
(Other "reserved_identifier")
(Identifier)
(Identifier)
(NumberLiteral)
{ (StringLiteral)

View File

@ -2,7 +2,7 @@
(ExpressionStatements
(Constructor
(FunctionCall
(Other "reserved_identifier")
(Identifier)
(Identifier)
(NumberLiteral)
(StringLiteral)))))

View File

@ -2,7 +2,7 @@
(ExpressionStatements
(Constructor
(FunctionCall
(Other "reserved_identifier")
(Identifier)
(Identifier)
(NumberLiteral)
(StringLiteral)))))

View File

@ -3,7 +3,6 @@
(FunctionCall
(Identifier)
(Other "type_arguments"
(Other "type_reference"
(Identifier)))
(Identifier))
(Identifier)
(StringLiteral))))+}

View File

@ -3,7 +3,6 @@
(FunctionCall
(Identifier)
(Other "type_arguments"
(Other "type_reference"
(Identifier)))
(Identifier))
(Identifier)
(StringLiteral))))+}

View File

@ -3,7 +3,6 @@
(FunctionCall
(Identifier)
(Other "type_arguments"
(Other "type_reference"
(Identifier)))
(Identifier))
(Identifier)
(StringLiteral))))-}

View File

@ -3,7 +3,6 @@
(FunctionCall
(Identifier)
(Other "type_arguments"
(Other "type_reference"
(Identifier)))
(Identifier))
(Identifier)
(StringLiteral))))-}

View File

@ -3,9 +3,8 @@
(FunctionCall
(Identifier)
(Other "type_arguments"
(Other "type_reference"
{ (Identifier)
->(Identifier) }))
{ (Identifier)
->(Identifier) })
(Identifier)
{ (StringLiteral)
->(StringLiteral) })))

View File

@ -3,9 +3,8 @@
(FunctionCall
(Identifier)
(Other "type_arguments"
(Other "type_reference"
{ (Identifier)
->(Identifier) }))
{ (Identifier)
->(Identifier) })
(Identifier)
{ (StringLiteral)
->(StringLiteral) })))

View File

@ -3,7 +3,6 @@
(FunctionCall
(Identifier)
(Other "type_arguments"
(Other "type_reference"
(Identifier)))
(Identifier))
(Identifier)
(StringLiteral))))

View File

@ -3,7 +3,6 @@
(FunctionCall
(Identifier)
(Other "type_arguments"
(Other "type_reference"
(Identifier)))
(Identifier))
(Identifier)
(StringLiteral))))

View File

@ -5,5 +5,4 @@
(Ty
(Other "function_type"
(Params)
(Other "type_reference"
(Identifier)))))))+}
(Identifier))))))+}

View File

@ -4,5 +4,4 @@
(Identifier)
(Ty
(Other "array_type"
(Other "type_reference"
(Identifier)))))))+}
(Identifier))))))+}

View File

@ -5,5 +5,4 @@
(Ty
(Other "function_type"
(Params)
(Other "type_reference"
(Identifier)))))))-}
(Identifier))))))-}

View File

@ -4,5 +4,4 @@
(Identifier)
(Ty
(Other "array_type"
(Other "type_reference"
(Identifier)))))))-}
(Identifier))))))-}

View File

@ -5,5 +5,4 @@
(Ty
(Other "array_type"
{-(Params)-}
(Other "type_reference"
(Identifier)))))))
(Identifier))))))

View File

@ -5,5 +5,4 @@
(Ty
(Other "function_type"
{+(Params)+}
(Other "type_reference"
(Identifier)))))))
(Identifier))))))

View File

@ -5,5 +5,4 @@
(Ty
(Other "function_type"
(Params)
(Other "type_reference"
(Identifier)))))))
(Identifier))))))

View File

@ -4,5 +4,4 @@
(Identifier)
(Ty
(Other "array_type"
(Other "type_reference"
(Identifier)))))))
(Identifier))))))

View File

@ -6,7 +6,6 @@
(Other "required_parameter"
(Identifier)))
(Ty
(Other "type_reference"
(Identifier)))
(Identifier))
(ExpressionStatements
(Identifier))))+}

View File

@ -6,7 +6,6 @@
(Other "required_parameter"
(Identifier)))
(Ty
(Other "type_reference"
(Identifier)))
(Identifier))
(ExpressionStatements
(Identifier))))-}

View File

@ -13,8 +13,7 @@
(Other "required_parameter"
(Identifier)))
->(Ty
(Other "type_reference"
(Identifier))) }
(Identifier)) }
{-(Ty
(Other "predefined_type"))-}
(ExpressionStatements

View File

@ -8,8 +8,7 @@
{-(Other "required_parameter"
(Identifier))-})
{ (Ty
(Other "type_reference"
(Identifier)))
(Identifier))
->(Params
(Other "required_parameter"
(Identifier))

View File

@ -6,7 +6,6 @@
(Other "required_parameter"
(Identifier)))
(Ty
(Other "type_reference"
(Identifier)))
(Identifier))
(ExpressionStatements
(Identifier))))

View File

@ -5,7 +5,7 @@
(Other "type_parameter"
(Identifier)))
(Other "property_signature"
(Other "reserved_identifier")
(Identifier)
(Ty
(Other "literal_type"
(StringLiteral))))
@ -13,5 +13,4 @@
(Other "readonly")
(Identifier)
(Ty
(Other "type_reference"
(Identifier))))))+}
(Identifier)))))+}

View File

@ -2,7 +2,7 @@
(Interface
(Identifier)
(Other "property_signature"
(Other "reserved_identifier")
(Identifier)
(Ty
(Other "literal_type"
(StringLiteral))))
@ -10,5 +10,4 @@
(Other "readonly")
(Identifier)
(Ty
(Other "type_reference"
(Identifier))))))+}
(Identifier)))))+}

View File

@ -5,7 +5,7 @@
(Other "type_parameter"
(Identifier)))
(Other "property_signature"
(Other "reserved_identifier")
(Identifier)
(Ty
(Other "literal_type"
(StringLiteral))))
@ -13,5 +13,4 @@
(Other "readonly")
(Identifier)
(Ty
(Other "type_reference"
(Identifier))))))-}
(Identifier)))))-}

View File

@ -2,7 +2,7 @@
(Interface
(Identifier)
(Other "property_signature"
(Other "reserved_identifier")
(Identifier)
(Ty
(Other "literal_type"
(StringLiteral))))
@ -10,5 +10,4 @@
(Other "readonly")
(Identifier)
(Ty
(Other "type_reference"
(Identifier))))))-}
(Identifier)))))-}

View File

@ -6,7 +6,7 @@
(Other "type_parameter"
(Identifier)))-}
(Other "property_signature"
(Other "reserved_identifier")
(Identifier)
(Ty
(Other "literal_type"
{ (StringLiteral)
@ -16,6 +16,5 @@
{ (Identifier)
->(Identifier) }
(Ty
(Other "type_reference"
{ (Identifier)
->(Identifier) })))))
{ (Identifier)
->(Identifier) }))))

View File

@ -6,7 +6,7 @@
(Other "type_parameter"
(Identifier)))+}
(Other "property_signature"
(Other "reserved_identifier")
(Identifier)
(Ty
(Other "literal_type"
{ (StringLiteral)
@ -16,6 +16,5 @@
{ (Identifier)
->(Identifier) }
(Ty
(Other "type_reference"
{ (Identifier)
->(Identifier) })))))
{ (Identifier)
->(Identifier) }))))

Some files were not shown because too many files have changed in this diff Show More