MCPcopy Index your code
hub / github.com/microsoft/typescript-go / makeBinaryExpression

Method makeBinaryExpression

internal/parser/parser.go:4669–4671  ·  view source on GitHub ↗
(left *ast.Expression, operatorToken *ast.Node, right *ast.Expression, pos int)

Source from the content-addressed store, hash-verified

4667}
4668
4669func (p *Parser) makeBinaryExpression(left *ast.Expression, operatorToken *ast.Node, right *ast.Expression, pos int) *ast.Node {
4670 return p.finishNode(p.factory.NewBinaryExpression(nil /*modifiers*/, left, nil /*typeNode*/, operatorToken, right), pos)
4671}
4672
4673func (p *Parser) parseUnaryExpressionOrHigher() *ast.Expression {
4674 // ES7 UpdateExpression:

Calls 2

finishNodeMethod · 0.95
NewBinaryExpressionMethod · 0.80

Tested by

no test coverage detected