MCPcopy Create free account
hub / github.com/codemix/htmling / peg$c227

Function peg$c227

lib/parser.js:637–694  ·  view source on GitHub ↗
(v)

Source from the content-addressed store, hash-verified

635 peg$c225 = "]",
636 peg$c226 = { type: "literal", value: "]", description: "\"]\"" },
637 peg$c227 = function(v) {
638 return {
639 type: 'SequenceExpression',
640 marker: false,
641 expressions: [
642 {
643 type: 'AssignmentExpression',
644 operator: '=',
645 left: {
646 type: 'Identifier',
647 name: 'ref'
648 },
649 right: {
650 type: 'MemberExpression',
651 computed: true,
652 object: {
653 type: 'Identifier',
654 name: 'ref'
655 },
656 property: v
657 }
658 },
659 {
660 type: 'ConditionalExpression',
661 test: {
662 type: 'LogicalExpression',
663 operator: '||',
664 left: {
665 type: 'Identifier',
666 name: 'ref'
667 },
668 right: {
669 type: 'BinaryExpression',
670 operator: '===',
671 left: {
672 type: 'Identifier',
673 name: 'ref'
674 },
675 right: {
676 type: 'Literal',
677 value: 0,
678 raw: '0'
679 }
680 }
681 },
682 consequent: {
683 type: 'Identifier',
684 name: 'ref'
685 },
686 alternate: {
687 type: 'Literal',
688 value: '',
689 raw: '""'
690 }
691 }
692 ]
693 };
694 },

Callers 1

peg$parseAccessorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…