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 "type_annotation" -> Ty
"template_chars" -> TemplateString "template_chars" -> TemplateString
"module" -> Module "module" -> Module
"ambient_namespace" -> Namespace "internal_module" -> Namespace
"interface_declaration" -> Interface "interface_declaration" -> Interface
name -> Other name name -> Other name

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

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