{"size": 1356, "ext": "js", "max_stars_repo_path": "ui/app-x/spec/react_effect.js", "max_stars_repo_name": "jmslazarus/poodle-appx", "max_stars_repo_stars_event_min_datetime": "2020-12-31T14:39:12.000Z", "max_stars_repo_stars_event_max_datetime": "2021-04-28T00:00:48.000Z", "max_issues_repo_path": "ui/app-x/spec/react_effect.js", "max_issues_repo_name": "jmslazarus/poodle-appx", "max_issues_repo_issues_event_min_datetime": "2021-02-16T13:07:22.000Z", "max_issues_repo_issues_event_max_datetime": "2021-05-14T17:14:59.000Z", "max_forks_repo_path": "ui/app-x/spec/react_effect.js", "max_forks_repo_name": "jmslazarus/poodle-appx", "max_forks_repo_forks_event_min_datetime": "2021-01-04T03:29:12.000Z", "max_forks_repo_forks_event_max_datetime": "2022-01-21T00:54:13.000Z"}
{"max_stars_count": 10, "max_issues_count": 5, "max_forks_count": 13, "avg_line_length": 18.5753424658, "max_line_length": 89, "alphanum_fraction": 0.3827433628}
import {
  REGEX_VAR,
  classes
} from 'app-x/spec/classes.js'

// type: react/effect                                (~statement)
// body:                     # code block            (:array<:string>|:array<:statement>)
// states:                   # state expressions     (:array<:expression>)
//   - s1
//   - s2
export const react_effect = {

  type: 'react/effect',
  desc: 'React Effect',
  _expand: true,
  children: [
    {
      name: 'body',
      desc: 'Body',
      array: true,
      types: [
        {
          kind: 'class',
          data: 'string',
        },
        {
          kind: 'class',
          data: 'statement'
        },
      ],
      _thisNode: {
        types: [
          {
            kind: 'class',
            data: 'string',
          },
        ],
        input: {
          kind: 'input/statement'
        },
      },
      _childNode: {
        types: [
          {
            kind: 'class',
            data: 'statement'
          },
        ],
        class: 'statement',
      },
    },
    {
      name: 'states',
      desc: 'States',
      array: true,
      types: [
        {
          kind: 'class',
          data: 'string'
        },
      ],
      _thisNode: {
        types: 'inherit',
        input: {
          kind: 'input/expression',
        },
      },
    },
  ]
}

export default react_effect
