Last active
October 3, 2017 06:11
-
-
Save gpeal/fb54d80372d1f8530970867b229e3bdd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { PureComponent } from 'react'; | |
import BasicRow from 'airbnb-dls/lib/BasicRow'; | |
interface Props { | |
thisisatestprop: string; | |
} | |
class TypeScriptScreen extends PureComponent<Props, {}> { | |
render() { | |
return <BasicRow title={this.props.title} />; | |
} | |
} | |
export default TypeScriptScreen; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"type": "File", | |
"start": 0, | |
"end": 305, | |
"loc": { | |
"start": { | |
"line": 1, | |
"column": 0 | |
}, | |
"end": { | |
"line": 16, | |
"column": 0 | |
} | |
}, | |
"program": { | |
"type": "Program", | |
"start": 0, | |
"end": 305, | |
"loc": { | |
"start": { | |
"line": 1, | |
"column": 0 | |
}, | |
"end": { | |
"line": 16, | |
"column": 0 | |
} | |
}, | |
"sourceType": "module", | |
"body": [ | |
{ | |
"type": "ExpressionStatement", | |
"expression": { | |
"type": "CallExpression", | |
"callee": { | |
"type": "MemberExpression", | |
"object": { | |
"type": "Identifier", | |
"name": "Object", | |
"_fromTemplate": true | |
}, | |
"property": { | |
"type": "Identifier", | |
"name": "defineProperty", | |
"_fromTemplate": true | |
}, | |
"computed": false, | |
"_fromTemplate": true | |
}, | |
"arguments": [ | |
{ | |
"type": "Identifier", | |
"name": "exports", | |
"_fromTemplate": true | |
}, | |
{ | |
"type": "StringLiteral", | |
"extra": { | |
"rawValue": "__esModule", | |
"raw": "\"__esModule\"" | |
}, | |
"value": "__esModule", | |
"_fromTemplate": true | |
}, | |
{ | |
"type": "ObjectExpression", | |
"properties": [ | |
{ | |
"type": "ObjectProperty", | |
"method": false, | |
"shorthand": false, | |
"computed": false, | |
"key": { | |
"type": "Identifier", | |
"name": "value", | |
"_fromTemplate": true | |
}, | |
"value": { | |
"type": "BooleanLiteral", | |
"value": true, | |
"_fromTemplate": true | |
}, | |
"_fromTemplate": true | |
} | |
], | |
"_fromTemplate": true | |
} | |
], | |
"_fromTemplate": true | |
}, | |
"_fromTemplate": true, | |
"_blockHoist": 3 | |
}, | |
{ | |
"type": "VariableDeclaration", | |
"kind": "var", | |
"declarations": [ | |
{ | |
"type": "VariableDeclarator", | |
"id": { | |
"type": "Identifier", | |
"name": "_react" | |
}, | |
"init": { | |
"type": "CallExpression", | |
"callee": { | |
"type": "Identifier", | |
"name": "require" | |
}, | |
"arguments": [ | |
{ | |
"type": "StringLiteral", | |
"value": "react", | |
"trailingComments": [], | |
"leadingComments": [], | |
"innerComments": [] | |
} | |
] | |
} | |
} | |
], | |
"loc": { | |
"start": { | |
"line": 1, | |
"column": 0 | |
}, | |
"end": { | |
"line": 1, | |
"column": 45 | |
} | |
} | |
}, | |
{ | |
"type": "VariableDeclaration", | |
"kind": "var", | |
"declarations": [ | |
{ | |
"type": "VariableDeclarator", | |
"id": { | |
"type": "Identifier", | |
"name": "_react2" | |
}, | |
"init": { | |
"type": "CallExpression", | |
"callee": { | |
"type": "MemberExpression", | |
"object": { | |
"type": "Identifier", | |
"name": "babelHelpers" | |
}, | |
"property": { | |
"type": "Identifier", | |
"name": "interopRequireDefault" | |
}, | |
"computed": false | |
}, | |
"arguments": [ | |
{ | |
"type": "Identifier", | |
"name": "_react" | |
} | |
] | |
} | |
} | |
] | |
}, | |
{ | |
"type": "VariableDeclaration", | |
"kind": "var", | |
"declarations": [ | |
{ | |
"type": "VariableDeclarator", | |
"id": { | |
"type": "Identifier", | |
"name": "_BasicRow" | |
}, | |
"init": { | |
"type": "CallExpression", | |
"callee": { | |
"type": "Identifier", | |
"name": "require" | |
}, | |
"arguments": [ | |
{ | |
"type": "StringLiteral", | |
"value": "../../../lib/airbnb-dls/lib/BasicRow", | |
"trailingComments": [], | |
"leadingComments": [], | |
"innerComments": [] | |
} | |
] | |
} | |
} | |
], | |
"loc": { | |
"start": { | |
"line": 3, | |
"column": 0 | |
}, | |
"end": { | |
"line": 3, | |
"column": 47 | |
} | |
} | |
}, | |
{ | |
"type": "VariableDeclaration", | |
"kind": "var", | |
"declarations": [ | |
{ | |
"type": "VariableDeclarator", | |
"id": { | |
"type": "Identifier", | |
"name": "_BasicRow2" | |
}, | |
"init": { | |
"type": "CallExpression", | |
"callee": { | |
"type": "MemberExpression", | |
"object": { | |
"type": "Identifier", | |
"name": "babelHelpers" | |
}, | |
"property": { | |
"type": "Identifier", | |
"name": "interopRequireDefault" | |
}, | |
"computed": false | |
}, | |
"arguments": [ | |
{ | |
"type": "Identifier", | |
"name": "_BasicRow" | |
} | |
] | |
} | |
} | |
] | |
}, | |
{ | |
"type": "VariableDeclaration", | |
"kind": "var", | |
"declarations": [ | |
{ | |
"type": "VariableDeclarator", | |
"id": { | |
"type": "Identifier", | |
"start": 150, | |
"end": 166, | |
"loc": { | |
"start": { | |
"line": 9, | |
"column": 6 | |
}, | |
"end": { | |
"line": 9, | |
"column": 22 | |
}, | |
"identifierName": "TypeScriptScreen" | |
}, | |
"name": "TypeScriptScreen" | |
}, | |
"init": { | |
"type": "CallExpression", | |
"callee": { | |
"type": "FunctionExpression", | |
"id": null, | |
"params": [ | |
{ | |
"type": "Identifier", | |
"name": "_PureComponent", | |
"optional": false | |
} | |
], | |
"body": { | |
"type": "BlockStatement", | |
"body": [ | |
{ | |
"type": "ExpressionStatement", | |
"expression": { | |
"type": "CallExpression", | |
"callee": { | |
"type": "MemberExpression", | |
"object": { | |
"type": "Identifier", | |
"name": "babelHelpers" | |
}, | |
"property": { | |
"type": "Identifier", | |
"name": "inherits" | |
}, | |
"computed": false | |
}, | |
"arguments": [ | |
{ | |
"type": "Identifier", | |
"name": "TypeScriptScreen" | |
}, | |
{ | |
"type": "Identifier", | |
"name": "_PureComponent", | |
"optional": false | |
} | |
] | |
} | |
}, | |
{ | |
"type": "FunctionDeclaration", | |
"id": { | |
"type": "Identifier", | |
"name": "TypeScriptScreen" | |
}, | |
"params": [], | |
"body": { | |
"type": "BlockStatement", | |
"body": [ | |
{ | |
"type": "ExpressionStatement", | |
"expression": { | |
"type": "CallExpression", | |
"callee": { | |
"type": "MemberExpression", | |
"object": { | |
"type": "Identifier", | |
"name": "babelHelpers" | |
}, | |
"property": { | |
"type": "Identifier", | |
"name": "classCallCheck" | |
}, | |
"computed": false | |
}, | |
"arguments": [ | |
{ | |
"type": "ThisExpression" | |
}, | |
{ | |
"type": "Identifier", | |
"name": "TypeScriptScreen" | |
} | |
] | |
} | |
}, | |
{ | |
"type": "ReturnStatement", | |
"argument": { | |
"type": "CallExpression", | |
"callee": { | |
"type": "MemberExpression", | |
"object": { | |
"type": "Identifier", | |
"name": "babelHelpers" | |
}, | |
"property": { | |
"type": "Identifier", | |
"name": "possibleConstructorReturn" | |
}, | |
"computed": false | |
}, | |
"arguments": [ | |
{ | |
"type": "ThisExpression" | |
}, | |
{ | |
"type": "CallExpression", | |
"callee": { | |
"type": "MemberExpression", | |
"object": { | |
"type": "Identifier", | |
"name": "_PureComponent", | |
"optional": false | |
}, | |
"property": { | |
"type": "Identifier", | |
"name": "apply" | |
}, | |
"computed": false | |
}, | |
"arguments": [ | |
{ | |
"type": "ThisExpression" | |
}, | |
{ | |
"type": "Identifier", | |
"name": "arguments", | |
"_fromTemplate": true | |
} | |
], | |
"_fromTemplate": true | |
} | |
] | |
}, | |
"trailingComments": [], | |
"leadingComments": [], | |
"innerComments": [] | |
} | |
], | |
"directives": [], | |
"_fromTemplate": true, | |
"trailingComments": [], | |
"leadingComments": [], | |
"innerComments": [], | |
"_letDone": true | |
}, | |
"generator": false, | |
"async": false, | |
"trailingComments": [], | |
"leadingComments": [], | |
"innerComments": [], | |
"_ignoreUserWhitespace": true | |
}, | |
{ | |
"type": "ExpressionStatement", | |
"expression": { | |
"type": "AssignmentExpression", | |
"operator": "=", | |
"left": { | |
"type": "MemberExpression", | |
"object": { | |
"type": "MemberExpression", | |
"object": { | |
"type": "Identifier", | |
"name": "TypeScriptScreen" | |
}, | |
"property": { | |
"type": "Identifier", | |
"name": "prototype" | |
}, | |
"computed": false | |
}, | |
"property": { | |
"type": "Identifier", | |
"start": 204, | |
"end": 210, | |
"loc": { | |
"start": { | |
"line": 10, | |
"column": 2 | |
}, | |
"end": { | |
"line": 10, | |
"column": 8 | |
}, | |
"identifierName": "render" | |
}, | |
"name": "render" | |
}, | |
"computed": false | |
}, | |
"right": { | |
"type": "FunctionExpression", | |
"id": { | |
"type": "Identifier", | |
"name": "render" | |
}, | |
"params": [], | |
"body": { | |
"type": "BlockStatement", | |
"start": 213, | |
"end": 268, | |
"loc": { | |
"start": { | |
"line": 10, | |
"column": 11 | |
}, | |
"end": { | |
"line": 12, | |
"column": 3 | |
} | |
}, | |
"body": [ | |
{ | |
"type": "ReturnStatement", | |
"start": 219, | |
"end": 264, | |
"loc": { | |
"start": { | |
"line": 11, | |
"column": 4 | |
}, | |
"end": { | |
"line": 11, | |
"column": 49 | |
} | |
}, | |
"argument": { | |
"type": "CallExpression", | |
"callee": { | |
"type": "MemberExpression", | |
"object": { | |
"type": "Identifier", | |
"name": "babelHelpers" | |
}, | |
"property": { | |
"type": "Identifier", | |
"name": "jsx" | |
}, | |
"computed": false | |
}, | |
"arguments": [ | |
{ | |
"type": "JSXMemberExpression", | |
"object": { | |
"type": "JSXIdentifier", | |
"name": "_BasicRow2" | |
}, | |
"property": { | |
"type": "JSXIdentifier", | |
"name": "default" | |
}, | |
"trailingComments": [], | |
"leadingComments": [], | |
"innerComments": [] | |
}, | |
{ | |
"type": "ObjectExpression", | |
"properties": [ | |
{ | |
"type": "ObjectProperty", | |
"key": { | |
"type": "Identifier", | |
"name": "title" | |
}, | |
"value": { | |
"type": "MemberExpression", | |
"start": 243, | |
"end": 259, | |
"loc": { | |
"start": { | |
"line": 11, | |
"column": 28 | |
}, | |
"end": { | |
"line": 11, | |
"column": 44 | |
} | |
}, | |
"object": { | |
"type": "MemberExpression", | |
"start": 243, | |
"end": 253, | |
"loc": { | |
"start": { | |
"line": 11, | |
"column": 28 | |
}, | |
"end": { | |
"line": 11, | |
"column": 38 | |
} | |
}, | |
"object": { | |
"type": "ThisExpression", | |
"start": 243, | |
"end": 247, | |
"loc": { | |
"start": { | |
"line": 11, | |
"column": 28 | |
}, | |
"end": { | |
"line": 11, | |
"column": 32 | |
} | |
} | |
}, | |
"property": { | |
"type": "Identifier", | |
"start": 248, | |
"end": 253, | |
"loc": { | |
"start": { | |
"line": 11, | |
"column": 33 | |
}, | |
"end": { | |
"line": 11, | |
"column": 38 | |
}, | |
"identifierName": "props" | |
}, | |
"name": "props" | |
}, | |
"computed": false | |
}, | |
"property": { | |
"type": "Identifier", | |
"start": 254, | |
"end": 259, | |
"loc": { | |
"start": { | |
"line": 11, | |
"column": 39 | |
}, | |
"end": { | |
"line": 11, | |
"column": 44 | |
}, | |
"identifierName": "title" | |
}, | |
"name": "title" | |
}, | |
"computed": false | |
}, | |
"computed": false, | |
"shorthand": false, | |
"decorators": null | |
} | |
] | |
} | |
], | |
"trailingComments": [], | |
"leadingComments": [], | |
"innerComments": [] | |
} | |
} | |
], | |
"directives": [], | |
"_letDone": true | |
}, | |
"generator": false, | |
"async": false | |
} | |
}, | |
"trailingComments": [], | |
"leadingComments": [], | |
"innerComments": [] | |
}, | |
{ | |
"type": "ReturnStatement", | |
"argument": { | |
"type": "Identifier", | |
"name": "TypeScriptScreen" | |
} | |
} | |
], | |
"directives": [], | |
"_letDone": true | |
}, | |
"generator": false, | |
"async": false, | |
"shadow": true | |
}, | |
"arguments": [ | |
{ | |
"type": "MemberExpression", | |
"object": { | |
"type": "Identifier", | |
"name": "_react" | |
}, | |
"property": { | |
"type": | |
"Identifier", | |
"start": 16, | |
"end": 29, | |
"name": "PureComponent" | |
}, | |
"computed": false, | |
"trailingComments": [], | |
"leadingComments": [], | |
"innerComments": [] | |
} | |
], | |
"trailingComments": [], | |
"leadingComments": [], | |
"innerComments": [] | |
} | |
} | |
], | |
"trailingComments": [], | |
"leadingComments": [], | |
"innerComments": [] | |
}, | |
{ | |
"type": "ExpressionStatement", | |
"expression": { | |
"type": "AssignmentExpression", | |
"operator": "=", | |
"left": { | |
"type": "MemberExpression", | |
"object": { | |
"type": "Identifier", | |
"start": 150, | |
"end": 166, | |
"loc": { | |
"start": { | |
"line": 9, | |
"column": 6 | |
}, | |
"end": { | |
"line": 9, | |
"column": 22 | |
}, | |
"identifierName": "TypeScriptScreen" | |
}, | |
"name": "TypeScriptScreen" | |
}, | |
"property": { | |
"type": "Identifier", | |
"name": "displayName" | |
}, | |
"computed": false | |
}, | |
"right": { | |
"type": "StringLiteral", | |
"value": "TypeScriptScreen" | |
} | |
} | |
}, | |
{ | |
"type": "ExpressionStatement", | |
"expression": { | |
"type": "AssignmentExpression", | |
"operator": "=", | |
"left": { | |
"type": "MemberExpression", | |
"object": { | |
"type": "Identifier", | |
"name": "exports" | |
}, | |
"property": { | |
"type": "Identifier", | |
"name": "default", | |
"trailingComments": [], | |
"leadingComments": [], | |
"innerComments": [] | |
}, | |
"computed": false | |
}, | |
"right": { | |
"type": "Identifier", | |
"start": 287, | |
"end": 303, | |
"loc": { | |
"start": { | |
"line": 15, | |
"column": 15 | |
}, | |
"end": { | |
"line": 15, | |
"column": 31 | |
}, | |
"identifierName": "TypeScriptScreen" | |
}, | |
"name": "TypeScriptScreen", | |
"trailingComments": [], | |
"leadingComments": [], | |
"innerComments": [] | |
} | |
}, | |
"trailingComments": [], | |
"leadingComments": [], | |
"innerComments": [] | |
} | |
], | |
"directives": [], | |
"_letDone": true | |
}, | |
"comments": [], | |
"tokens": [ | |
{ | |
"type": { | |
"label": "import", | |
"keyword": "import", | |
"beforeExpr": false, | |
"startsExpr": true, | |
"rightAssociative": false, | |
"isLoop": false, | |
"isAssign": false, | |
"prefix": false, | |
"postfix": false, | |
"binop": null, | |
"updateContext": null | |
}, | |
"value": "import", | |
"start": 0, | |
"end": 6, | |
"loc": { | |
"start": { | |
"line": 1, | |
"column": 0 | |
}, | |
"end": { | |
"line": 1, | |
"column": 6 | |
} | |
} | |
}, | |
{ | |
"type": { | |
"label": "name", | |
"beforeExpr": false, | |
"startsExpr": true, | |
"rightAssociative": false, | |
"isLoop": false, | |
"isAssign": false, | |
"prefix": false, | |
"postfix": false, | |
"binop": null | |
}, | |
"value": "React", | |
"start": 7, | |
"end": 12, | |
"loc": { | |
"start": { | |
"line": 1, | |
"column": 7 | |
}, | |
"end": { | |
"line": 1, | |
"column": 12 | |
} | |
} | |
}, | |
{ | |
"type": { | |
"label": ",", | |
"beforeExpr": true, | |
"startsExpr": false, | |
"rightAssociative": false, | |
"isLoop": false, | |
"isAssign": false, | |
"prefix": false, | |
"postfix": false, | |
"binop": null, | |
"updateContext": null | |
}, | |
"start": 12, | |
"end": 13, | |
"loc": { | |
"start": { | |
"line": 1, | |
"column": 12 | |
}, | |
"end": { | |
"line": 1, | |
"column": 13 | |
} | |
} | |
}, | |
{ | |
"type": { | |
"label": "{", | |
"beforeExpr": true, | |
"startsExpr": true, | |
"rightAssociative": false, | |
"isLoop": false, | |
"isAssign": false, | |
"prefix": false, | |
"postfix": false, | |
"binop": null | |
}, | |
"start": 14, | |
"end": 15, | |
"loc": { | |
"start": { | |
"line": 1, | |
"column": 14 | |
}, | |
"end": { | |
"line": 1, | |
"column": 15 | |
} | |
} | |
}, | |
{ | |
"type": { | |
"label": "name", | |
"beforeExpr": false, | |
"startsExpr": true, | |
"rightAssociative": false, | |
"isLoop": false, | |
"isAssign": false, | |
"prefix": false, | |
"postfix": false, | |
"binop": null | |
}, | |
"value": "PureComponent", | |
"start": 16, | |
"end": 29, | |
"loc": { | |
"start": { | |
"line": 1, | |
"column": 16 | |
}, | |
"end": { | |
"line": 1, | |
"column": 29 | |
} | |
} | |
}, | |
{ | |
"type": { | |
"label": "}", | |
"beforeExpr": false, | |
"startsExpr": false, | |
"rightAssociative": false, | |
"isLoop": false, | |
"isAssign": false, | |
"prefix": false, | |
"postfix": false, | |
"binop": null | |
}, | |
"start": 30, | |
"end": 31, | |
"loc": { | |
"start": { | |
"line": 1, | |
"column": 30 | |
}, | |
"end": { | |
"line": 1, | |
"column": 31 | |
} | |
} | |
}, | |
{ | |
"type": { | |
"label": "name", | |
"beforeExpr": false, | |
"startsExpr": true, | |
"rightAssociative": false, | |
"isLoop": false, | |
"isAssign": false, | |
"prefix": false, | |
"postfix": false, | |
"binop": null | |
}, | |
"value": "from", | |
"start": 32, | |
"end": 36, | |
"loc": { | |
"start": { | |
"line": 1, | |
"column": 32 | |
}, | |
"end": { | |
"line": 1, | |
"column": 36 | |
} | |
} | |
}, | |
{ | |
"type": { | |
"label": "string", | |
"beforeExpr": false, | |
"startsExpr": true, | |
"rightAssociative": false, | |
"isLoop": false, | |
"isAssign": false, | |
"prefix": false, | |
"postfix": false, | |
"binop": null, | |
"updateContext": null | |
}, | |
"value": "react", | |
"start": 37, | |
"end": 44, | |
"loc": { | |
"start": { | |
"line": 1, | |
"column": 37 | |
}, | |
"end": { | |
"line": 1, | |
"column": 44 | |
} | |
} | |
}, | |
{ | |
"type": { | |
"label": ";", | |
"beforeExpr": true, | |
"startsExpr": false, | |
"rightAssociative": false, | |
"isLoop": false, | |
"isAssign": false, | |
"prefix": false, | |
"postfix": false, | |
"binop": null, | |
"updateContext": null | |
}, | |
"start": 44, | |
"end": 45, | |
"loc": { | |
"start": { | |
"line": 1, | |
"column": 44 | |
}, | |
"end": { | |
"line": 1, | |
"column": 45 | |
} | |
} | |
}, | |
{ | |
"type": { | |
"label": "import", | |
"keyword": "import", | |
"beforeExpr": false, | |
"startsExpr": true, | |
"rightAssociative": false, | |
"isLoop": false, | |
"isAssign": false, | |
"prefix": false, | |
"postfix": false, | |
"binop": null, | |
"updateContext": null | |
}, | |
"value": "import", | |
"start": 47, | |
"end": 53, | |
"loc": { | |
"start": { | |
"line": 3, | |
"column": 0 | |
}, | |
"end": { | |
"line": 3, | |
"column": 6 | |
} | |
} | |
}, | |
{ | |
"type": { | |
"label": "name", | |
"beforeExpr": false, | |
"startsExpr": true, | |
"rightAssociative": false, | |
"isLo | |
op": false, | |
"isAssign": false, | |
"prefix": false, | |
"postfix": false, | |
"binop": null | |
}, | |
"value": "BasicRow", | |
"start": 54, | |
"end": 62, | |
"loc": { | |
"start": { | |
"line": 3, | |
"column": 7 | |
}, | |
"end": { | |
"line": 3, | |
"column": 15 | |
} | |
} | |
}, | |
{ | |
"type": { | |
"label": "name", | |
"beforeExpr": false, | |
"startsExpr": true, | |
"rightAssociative": false, | |
"isLoop": false, | |
"isAssign": false, | |
"prefix": false, | |
"postfix": false, | |
"binop": null | |
}, | |
"value": "from", | |
"start": 63, | |
"end": 67, | |
"loc": { | |
"start": { | |
"line": 3, | |
"column": 16 | |
}, | |
"end": { | |
"line": 3, | |
"column": 20 | |
} | |
} | |
}, | |
{ | |
"type": { | |
"label": "string", | |
"beforeExpr": false, | |
"startsExpr": true, | |
"rightAssociative": false, | |
"isLoop": false, | |
"isAssign": false, | |
"prefix": false, | |
"postfix": false, | |
"binop": null, | |
"updateContext": null | |
}, | |
"value": "airbnb-dls/lib/BasicRow", | |
"start": 68, | |
"end": 93, | |
"loc": { | |
"start": { | |
"line": 3, | |
"column": 21 | |
}, | |
"end": { | |
"line": 3, | |
"column": 46 | |
} | |
} | |
}, | |
{ | |
"type": { | |
"label": ";", | |
"beforeExpr": true, | |
"startsExpr": false, | |
"rightAssociative": false, | |
"isLoop": false, | |
"isAssign": false, | |
"prefix": false, | |
"postfix": false, | |
"binop": null, | |
"updateContext": null | |
}, | |
"start": 93, | |
"end": 94, | |
"loc": { | |
"start": { | |
"line": 3, | |
"column": 46 | |
}, | |
"end": { | |
"line": 3, | |
"column": 47 | |
} | |
} | |
}, | |
{ | |
"type": { | |
"label": "name", | |
"beforeExpr": false, | |
"startsExpr": true, | |
"rightAssociative": false, | |
"isLoop": false, | |
"isAssign": false, | |
"prefix": false, | |
"postfix": false, | |
"binop": null | |
}, | |
"value": "interface", | |
"start": 96, | |
"end": 105, | |
"loc": { | |
"start": { | |
"line": 5, | |
"column": 0 | |
}, | |
"end": { | |
"line": 5, | |
"column": 9 | |
} | |
} | |
}, | |
{ | |
"type": { | |
"label": "name", | |
"beforeExpr": false, | |
"startsExpr": true, | |
"rightAssociative": false, | |
"isLoop": false, | |
"isAssign": false, | |
"prefix": false, | |
"postfix": false, | |
"binop": null | |
}, | |
"value": "Props", | |
"start": 106, | |
"end": 111, | |
"loc": { | |
"start": { | |
"line": 5, | |
"column": 10 | |
}, | |
"end": { | |
"line": 5, | |
"column": 15 | |
} | |
} | |
}, | |
{ | |
"type": { | |
"label": "{", | |
"beforeExpr": true, | |
"startsExpr": true, | |
"rightAssociative": false, | |
"isLoop": false, | |
"isAssign": false, | |
"prefix": false, | |
"postfix": false, | |
"binop": null | |
}, | |
"start": 112, | |
"end": 113, | |
"loc": { | |
"start": { | |
"line": 5, | |
"column": 16 | |
}, | |
"end": { | |
"line": 5, | |
"column": 17 | |
} | |
} | |
}, | |
{ | |
"type": { | |
"label": "name", | |
"beforeExpr": false, | |
"startsExpr": true, | |
"rightAssociative": false, | |
"isLoop": false, | |
"isAssign": false, | |
"prefix": false, | |
"postfix": false, | |
"binop": null | |
}, | |
"value": "thisisatestprop", | |
"start": 116, | |
"end": 131, | |
"loc": { | |
"start": { | |
"line": 6, | |
"column": 2 | |
}, | |
"end": { | |
"line": 6, | |
"column": 17 | |
} | |
} | |
}, | |
{ | |
"type": { | |
"label": ":", | |
"beforeExpr": true, | |
"startsExpr": false, | |
"rightAssociative": false, | |
"isLoop": false, | |
"isAssign": false, | |
"prefix": false, | |
"postfix": false, | |
"binop": null, | |
"updateContext": null | |
}, | |
"start": 131, | |
"end": 132, | |
"loc": { | |
"start": { | |
"line": 6, | |
"column": 17 | |
}, | |
"end": { | |
"line": 6, | |
"column": 18 | |
} | |
} | |
}, | |
{ | |
"type": { | |
"label": "name", | |
"beforeExpr": false, | |
"startsExpr": true, | |
"rightAssociative": false, | |
"isLoop": false, | |
"isAssign": false, | |
"prefix": false, | |
"postfix": false, | |
"binop": null | |
}, | |
"value": "string", | |
"start": 133, | |
"end": 139, | |
"loc": { | |
"start": { | |
"line": 6, | |
"column": 19 | |
}, | |
"end": { | |
"line": 6, | |
"column": 25 | |
} | |
} | |
}, | |
{ | |
"type": { | |
"label": ";", | |
"beforeExpr": true, | |
"startsExpr": false, | |
"rightAssociative": false, | |
"isLoop": false, | |
"isAssign": false, | |
"prefix": false, | |
"postfix": false, | |
"binop": null, | |
"updateContext": null | |
}, | |
"start": 139, | |
"end": 140, | |
"loc": { | |
"start": { | |
"line": 6, | |
"column": 25 | |
}, | |
"end": { | |
"line": 6, | |
"column": 26 | |
} | |
} | |
}, | |
{ | |
"type": { | |
"label": "}", | |
"beforeExpr": false, | |
"startsExpr": false, | |
"rightAssociative": false, | |
"isLoop": false, | |
"isAssign": false, | |
"prefix": false, | |
"postfix": false, | |
"binop": null | |
}, | |
"start": 141, | |
"end": 142, | |
"loc": { | |
"start": { | |
"line": 7, | |
"column": 0 | |
}, | |
"end": { | |
"line": 7, | |
"column": 1 | |
} | |
} | |
}, | |
{ | |
"type": { | |
"label": "class", | |
"keyword": "class", | |
"beforeExpr": false, | |
"startsExpr": false, | |
"rightAssociative": false, | |
"isLoop": false, | |
"isAssign": false, | |
"prefix": false, | |
"postfix": false, | |
"binop": null, | |
"updateContext": null | |
}, | |
"value": "class", | |
"start": 144, | |
"end": 149, | |
"loc": { | |
"start": { | |
"line": 9, | |
"column": 0 | |
}, | |
"end": { | |
"line": 9, | |
"column": 5 | |
} | |
} | |
}, | |
{ | |
"type": { | |
"label": "name", | |
"beforeExpr": false, | |
"startsExpr": true, | |
"rightAssociative": false, | |
"isLoop": false, | |
"isAssign": false, | |
"prefix": false, | |
"postfix": false, | |
"binop": null | |
}, | |
"value": "TypeScriptScreen", | |
"start": 150, | |
"end": 166, | |
"loc": { | |
"start": { | |
"line": 9, | |
"column": 6 | |
}, | |
"end": { | |
"line": 9, | |
"column": 22 | |
} | |
} | |
}, | |
{ | |
"type": { | |
"label": "extends", | |
"keyword": "extends", | |
"beforeExpr": true, | |
"startsExpr": false, | |
"rightAssociative": false, | |
"isLoop": false, | |
"isAssign": false, | |
"prefix": false, | |
"postfix": false, | |
"binop": null, | |
"updateContext": null | |
}, | |
"value": "extends", | |
"start": 167, | |
"end": 174, | |
"loc": { | |
"start": { | |
"line": 9, | |
"column": 23 | |
}, | |
"end": { | |
"line": 9, | |
"column": 30 | |
} | |
} | |
}, | |
{ | |
"type": { | |
"label": "name", | |
"beforeExpr": false, | |
"startsExpr": true, | |
"rightAssociative": false, | |
"isLoop": false, | |
"isAssign": false, | |
"prefix": false, | |
"postfix": false, | |
"binop": null | |
}, | |
"value": "PureComponent", | |
"start": 175, | |
"end": 188, | |
"loc": { | |
"start": { | |
"line": 9, | |
"column": 31 | |
}, | |
"end": { | |
"line": 9, | |
"column": 44 | |
} | |
} | |
}, | |
{ | |
"type": { | |
"label": "</>", | |
"beforeExpr": true, | |
"startsExpr": false, | |
"rightAssociative": false, | |
"isLoop": false, | |
"isAssign": false, | |
"prefix": false, | |
"postfix": false, | |
"binop": 7, | |
"updateContext": null | |
}, | |
"value": "<", | |
"start": 188, | |
"end": 189, | |
"loc": { | |
"start": { | |
"line": 9, | |
"column": 44 | |
}, | |
"end": { | |
"line": 9, | |
"column": 45 | |
} | |
} | |
}, | |
{ | |
"type": { | |
"label": "name", | |
"beforeExpr": false, | |
"startsExpr": true, | |
"rightAssociative": false, | |
"isLoop": false, | |
"isAssign": false, | |
"prefix": false, | |
"postfix": false, | |
"binop": null | |
}, | |
"value": "Props", | |
"start": 189, | |
"end": 194, | |
"loc": { | |
"start": { | |
"line": 9, | |
"column": 45 | |
}, | |
"end": { | |
"line": 9, | |
"column": 50 | |
} | |
} | |
}, | |
{ | |
"type": { | |
"label": ",", | |
"beforeExpr": true, | |
"startsExpr": false, | |
"rightAssociative": false, | |
"isLoop": false, | |
"isAssign": false, | |
"prefix": false, | |
"postfix": false, | |
"binop": null, | |
"updateContext": null | |
}, | |
"start": 194, | |
"end": 195, | |
"loc": { | |
"start": { | |
"line": 9, | |
"column": 50 | |
}, | |
"end": { | |
"line": 9, | |
"column": 51 | |
} | |
} | |
}, | |
{ | |
"type": { | |
"label": "{", | |
"beforeExpr": true, | |
"startsExpr": true, | |
"rightAssociative": false, | |
"isLoop": false, | |
"isAssign": false, | |
"prefix": false, | |
"postfix": false, | |
"binop": null | |
}, | |
"start": 196, | |
"end": 197, | |
"loc": { | |
"start": { | |
"line": 9, | |
"column": 52 | |
}, | |
"end": { | |
"line": 9, | |
"column": 53 | |
} | |
} | |
}, | |
{ | |
"type": { | |
"label": "}", | |
"beforeExpr": false, | |
"startsExpr": false, | |
"rightAssociative": false, | |
"isLoop": false, | |
"isAssign": false, | |
"prefix": false, | |
"postfix": false, | |
"binop": null | |
}, | |
"start": 197, | |
"end": 198, | |
"loc": { | |
"start": { | |
"line": 9, | |
"column": 53 | |
}, | |
"end": { | |
"line": 9, | |
"column": 54 | |
} | |
} | |
}, | |
{ | |
"type": { | |
"label": "</>", | |
"beforeExpr": true, | |
"startsExpr": false, | |
"rightAssociative": false, | |
"isLoop": false, | |
"isAssign": false, | |
"prefix": false, | |
"postfix": false, | |
"binop": 7, | |
"updateContext": null | |
}, | |
"value": ">", | |
"start": 198, | |
"end": 199, | |
"loc": { | |
"start": { | |
"line": 9, | |
"column": 54 | |
}, | |
"end": { | |
"line": 9, | |
"column": 55 | |
} | |
} | |
}, | |
{ | |
"type": { | |
"label": "{", | |
"beforeExpr": true, | |
"startsExpr": true, | |
"rightAssociative": false, | |
"isLoop": false, | |
"isAssign": false, | |
"prefix": false, | |
"postfix": false, | |
"binop": null | |
}, | |
"start": 200, | |
"end": 201, | |
"loc": { | |
"start": { | |
"line": 9, | |
"column": 56 | |
}, | |
"end": { | |
"line": 9, | |
"column": 57 | |
} | |
} | |
}, | |
{ | |
"type": { | |
"label": "name", | |
"beforeExpr": false, | |
"startsExpr": true, | |
"rightAssociative": false, | |
"isLoop": false, | |
"isAssign": false, | |
"prefix": false, | |
"postfix": false, | |
"binop": null | |
}, | |
"value": "render", | |
"start": 204, | |
"end": 210, | |
"loc": { | |
"start": { | |
"line": 10, | |
"column": 2 | |
}, | |
"end": { | |
"line": 10, | |
"column": 8 | |
} | |
} | |
}, | |
{ | |
"type": { | |
"label": "(", | |
"beforeExpr": true, | |
"startsExpr": true, | |
"rightAssociative": false, | |
"isLoop": false, | |
"isAssign": false, | |
"prefix": false, | |
"postfix": false, | |
"binop": null | |
}, | |
"start": 210, | |
"end": 211, | |
"loc": { | |
"start": { | |
"line": 10, | |
"column": 8 | |
}, | |
"end": { | |
"line": 10, | |
"column": 9 | |
} | |
} | |
}, | |
{ | |
"type": { | |
"label": ")", | |
"beforeExpr": false, | |
"startsExpr": false, | |
"rightAssociative": false, | |
"isLoop": false, | |
"isAssign": false, | |
"prefix": false, | |
"postfix": false, | |
"binop": null | |
}, | |
"start": 211, | |
"end": 212, | |
"loc": { | |
"start": { | |
"line": 10, | |
"column": 9 | |
}, | |
"end": { | |
"line": 10, | |
"column": 10 | |
} | |
} | |
}, | |
{ | |
"type": { | |
"label": "{", | |
"beforeExpr": true, | |
"startsExpr": true, | |
"rightAssociative": false, | |
"isLoop": false, | |
"isAssign": false, | |
"prefix": false, | |
"postfix": false, | |
"binop": null | |
}, | |
"start": 213, | |
"end": 214, | |
"loc": { | |
"start": { | |
"line": 10, | |
"column": 11 | |
}, | |
"end": { | |
"line": 10, | |
"column": 12 | |
} | |
} | |
}, | |
{ | |
"type": { | |
"label": "return", | |
"keyword": "return", | |
"beforeExpr": true, | |
"startsExpr": false, | |
"rightAssociative": false, | |
"isLoop": false, | |
"isAssign": false, | |
"prefix": false, | |
"postfix": false, | |
"binop": null, | |
"updateContext": null | |
}, | |
"value": "return", | |
"start": 219, | |
"end": 225, | |
"loc": { | |
"start": { | |
"line": 11, | |
"column": 4 | |
}, | |
"end": { | |
"line": 11, | |
"column": 10 | |
} | |
} | |
}, | |
{ | |
"type": { | |
"label": "jsxTagStart", | |
"beforeExpr": false, | |
"startsExpr": true, | |
"rightAssociative": false, | |
"isLoop": false, | |
"isAssign": false, | |
"prefix": false, | |
"postfix": false, | |
"binop": null | |
}, | |
"start": 226, | |
"end": 227, | |
"loc": { | |
"start": { | |
"line": 11, | |
"column": 11 | |
}, | |
"end": { | |
"line": 11, | |
"column": 12 | |
} | |
} | |
}, | |
{ | |
"type": { | |
"label": "jsxName", | |
"beforeExpr": false, | |
"startsExpr": false, | |
"rightAssociative": false, | |
"isLoop": false, | |
"isAssign": false, | |
"prefix": false, | |
"postfix": false, | |
"binop": null, | |
"updateContext": null | |
}, | |
"value": "BasicRow", | |
"start": 227, | |
"end": 235, | |
"loc": { | |
"start": { | |
"line": 11, | |
"column": 12 | |
}, | |
"end": { | |
"line": 11, | |
"column": 20 | |
} | |
} | |
}, | |
{ | |
"type": { | |
"label": "jsxName", | |
"beforeExpr": false, | |
"startsExpr": false, | |
"rightAssociative": false, | |
"isLoop": false, | |
"isAssign": false, | |
"prefix": false, | |
"postfix": false, | |
"binop": null, | |
"updateContext": null | |
}, | |
"value": "title", | |
"start": 236, | |
"end": 241, | |
"loc": { | |
"start": { | |
"line": 11, | |
"column": 21 | |
}, | |
"end": { | |
"line": 11, | |
"column": 26 | |
} | |
} | |
}, | |
{ | |
"type": { | |
"label": "=", | |
"beforeExpr": true, | |
"startsExpr": false, | |
"rightAssociative": false, | |
"isLoop": false, | |
"isAssign": true, | |
"prefix": false, | |
"postfix": false, | |
"binop": null, | |
"updateContext": null | |
}, | |
"value": "=", | |
"start": 241, | |
"end": 242, | |
"loc": { | |
"start": { | |
"line": 11, | |
"column": 26 | |
}, | |
"end": { | |
"line": 11, | |
"column": 27 | |
} | |
} | |
}, | |
{ | |
"type": { | |
"label": "{", | |
"beforeExpr": true, | |
"startsExpr": true, | |
"rightAssociative": false, | |
"isLoop": false, | |
"isAssign": false, | |
"prefix": false, | |
"postfix": false, | |
"binop": null | |
}, | |
"start": 242, | |
"end": 243, | |
"loc": { | |
"start": { | |
"line": 11, | |
"column": 27 | |
}, | |
"end": { | |
"line": 11, | |
"column": 28 | |
} | |
} | |
}, | |
{ | |
"type": { | |
"label": "this", | |
"keyword": "this", | |
"beforeExpr": false, | |
"startsExpr": true, | |
"rightAssociative": false, | |
"isLoop": false, | |
"isAssign": false, | |
"prefix": false, | |
"postfix": false, | |
"binop": null, | |
"updateContext": null | |
}, | |
"value": "this", | |
"start": 243, | |
"end": 247, | |
"loc": { | |
"start": { | |
"line": 11, | |
"column": 28 | |
}, | |
"end": { | |
"line": 11, | |
"column": 32 | |
} | |
} | |
}, | |
{ | |
"type": { | |
"label": ".", | |
"beforeExpr": false, | |
"startsExpr": false, | |
"rightAssociative": false, | |
"isLoop": false, | |
"isAssign": false, | |
"prefix": false, | |
"postfix": false, | |
"binop": null, | |
"updateContext": null | |
}, | |
"start": 247, | |
"end": 248, | |
"loc": { | |
"start": { | |
"line": 11, | |
"column": 32 | |
}, | |
"end": { | |
"line": 11, | |
"column": 33 | |
} | |
} | |
}, | |
{ | |
"type": { | |
"label": "name", | |
"beforeExpr": false, | |
"startsExpr": true, | |
"rightAssociative": false, | |
"isLoop": false, | |
"isAssign": false, | |
"prefix": false, | |
"postfix": false, | |
"binop": null | |
}, | |
"value": "props", | |
"start": 248, | |
"end": 253, | |
"loc": { | |
"start": { | |
"line": 11, | |
"column": 33 | |
}, | |
"end": { | |
"line": 11, | |
"column": 38 | |
} | |
} | |
}, | |
{ | |
"type": { | |
"label": ".", | |
"beforeExpr": false, | |
"startsExpr": false, | |
"rightAssociative": false, | |
"isLoop": false, | |
"isAssign": false, | |
"prefix": false, | |
"postfix": false, | |
"binop": null, | |
"updateContext": null | |
}, | |
"start": 253, | |
"end": 254, | |
"loc": { | |
"start": { | |
"line": 11, | |
"column": 38 | |
}, | |
"end": { | |
"line": 11, | |
"column": 39 | |
} | |
} | |
}, | |
{ | |
"type": { | |
"label": "name", | |
"beforeExpr": false, | |
"startsExpr": true, | |
"rightAssociative": false, | |
"isLoop": false, | |
"isAssign": false, | |
"prefix": false, | |
"postfix": false, | |
"binop": null | |
}, | |
"value": "title", | |
"start": 254, | |
"end": 259, | |
"loc": { | |
"start": { | |
"line": 11, | |
"column": 39 | |
}, | |
"end": { | |
"line": 11, | |
"column": 44 | |
} | |
} | |
}, | |
{ | |
"type": { | |
"label": "}", | |
"beforeExpr": false, | |
"startsExpr": false, | |
"rightAssociative": false, | |
"isLoop": false, | |
"isAssign": false, | |
"prefix": false, | |
"postfix": false, | |
"binop": null | |
}, | |
"start": 259, | |
"end": 260, | |
"loc": { | |
"start": { | |
"line": 11, | |
"column": 44 | |
}, | |
"end": { | |
"line": 11, | |
"column": 45 | |
} | |
} | |
}, | |
{ | |
"type": { | |
"label": "/", | |
"beforeExpr": true, | |
"startsExpr": false, | |
"rightAssociative": false, | |
"isLoop": false, | |
"isAssign": false, | |
"prefix": false, | |
"postfix": false, | |
"binop": 10, | |
"updateContext": null | |
}, | |
"value": "/", | |
"start": 261, | |
"end": 262, | |
"loc": { | |
"start": { | |
"line": 11, | |
"column": 46 | |
}, | |
"end": { | |
"line": 11, | |
"column": 47 | |
} | |
} | |
}, | |
{ | |
"type": { | |
"label": "jsxTagEnd", | |
"beforeExpr": false, | |
"startsExpr": false, | |
"rightAssociative": false, | |
"isLoop": false, | |
"isAssign": false, | |
"prefix": false, | |
"postfix": false, | |
"binop": null | |
}, | |
"start": 262, | |
"end": 263, | |
"loc": { | |
"start": { | |
"line": 11, | |
"column": 47 | |
}, | |
"end": { | |
"line": 11, | |
"column": 48 | |
} | |
} | |
}, | |
{ | |
"type": { | |
"label": ";", | |
"beforeExpr": true, | |
"startsExpr": false, | |
"rightAssociative": false, | |
"isLoop": false, | |
"isAssign": false, | |
"prefix": false, | |
"postfix": false, | |
"binop": null, | |
"updateContext": null | |
}, | |
"start": 263, | |
"end": 264, | |
"loc": { | |
"start": { | |
"line": 11, | |
"column": 48 | |
}, | |
"end": { | |
"line": 11, | |
"column": 49 | |
} | |
} | |
}, | |
{ | |
"type": { | |
"label": "}", | |
"beforeExpr": false, | |
"startsExpr": false, | |
"rightAssociative": false, | |
"isLoop": false, | |
"isAssign": false, | |
"prefix": false, | |
"postfix": false, | |
"binop": null | |
}, | |
"start": 267, | |
"end": 268, | |
"loc": { | |
"start": { | |
"line": 12, | |
"column": 2 | |
}, | |
"end": { | |
"line": 12, | |
"column": 3 | |
} | |
} | |
}, | |
{ | |
"type": { | |
"label": "}", | |
"beforeExpr": false, | |
"startsExpr": false, | |
"rightAssociative": false, | |
"isLoop": false, | |
"isAssign": false, | |
"prefix": false, | |
"postfix": false, | |
"binop": null | |
}, | |
"start": 269, | |
"end": 270, | |
"loc": { | |
"start": { | |
"line": 13, | |
"column": 0 | |
}, | |
"end": { | |
"line": 13, | |
"column": 1 | |
} | |
} | |
}, | |
{ | |
"type": { | |
"label": "export", | |
"keyword": "export", | |
"beforeExpr": false, | |
"startsExpr": false, | |
"rightAssociative": false, | |
"isLoop": false, | |
"isAssign": false, | |
"prefix": false, | |
"postfix": false, | |
"binop": null, | |
"updateContext": null | |
}, | |
"value": "export", | |
"start": 272, | |
"end": 278, | |
"loc": { | |
"start": { | |
"line": 15, | |
"column": 0 | |
}, | |
"end": { | |
"line": 15, | |
"column": 6 | |
} | |
} | |
}, | |
{ | |
"type": { | |
"label": "default", | |
"keyword": "default", | |
"beforeExpr": true, | |
"startsExpr": false, | |
"rightAssociative": false, | |
"isLoop": false, | |
"isAssign": false, | |
"prefix": false, | |
"postfix": false, | |
"binop": null, | |
"updateContext": null | |
}, | |
"value": "default", | |
"start": 279, | |
"end": 286, | |
"loc": { | |
"start": { | |
"line": 15, | |
"column": 7 | |
}, | |
"end": { | |
"line": 15, | |
"column": 14 | |
} | |
} | |
}, | |
{ | |
"type": { | |
"label": "name", | |
"beforeExpr": false, | |
"startsExpr": true, | |
"rightAssociative": false, | |
"isLoop": false, | |
"isAssign": false, | |
"prefix": false, | |
"postfix": false, | |
"binop": null | |
}, | |
"value": "TypeScriptScreen", | |
"start": 287, | |
"end": 303, | |
"loc": { | |
"start": { | |
"line": 15, | |
"column": 15 | |
}, | |
"end": { | |
"line": 15, | |
"column": 31 | |
} | |
} | |
}, | |
{ | |
"type": { | |
"label": ";", | |
"beforeExpr": true, | |
"startsExpr": false, | |
"rightAssociative": false, | |
"isLoop": false, | |
"isAssign": false, | |
"prefix": false, | |
"postfix": false, | |
"binop": null, | |
"updateContext": null | |
}, | |
"start": 303, | |
"end": 304, | |
"loc": { | |
"start": { | |
"line": 15, | |
"column": 31 | |
}, | |
"end": { | |
"line": 15, | |
"column": 32 | |
} | |
} | |
}, | |
{ | |
"type": { | |
"label": "eof", | |
"beforeExpr": false, | |
"startsExpr": false, | |
"rightAssociative": false, | |
"isLoop": false, | |
"isAssign": false, | |
"prefix": false, | |
"postfix": false, | |
"binop": null, | |
"updateContext": null | |
}, | |
"start": 305, | |
"end": 305, | |
"loc": { | |
"start": { | |
"line": 16, | |
"column": 0 | |
}, | |
"end": { | |
"line": 16, | |
"column": 0 | |
} | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment