MCPcopy Create free account
hub / github.com/dop251/goja / parseCallExpression

Method parseCallExpression

parser/expression.go:635–643  ·  view source on GitHub ↗
(left ast.Expression)

Source from the content-addressed store, hash-verified

633}
634
635func (self *_parser) parseCallExpression(left ast.Expression) ast.Expression {
636 argumentList, idx0, idx1 := self.parseArgumentList()
637 return &ast.CallExpression{
638 Callee: left,
639 LeftParenthesis: idx0,
640 ArgumentList: argumentList,
641 RightParenthesis: idx1,
642 }
643}
644
645func (self *_parser) parseDotMember(left ast.Expression) ast.Expression {
646 period := self.idx

Callers 2

parseSuperPropertyMethod · 0.95

Calls 1

parseArgumentListMethod · 0.95

Tested by

no test coverage detected