Lines Matching refs:ParseResult
173 base::Optional<ParseResult> AddGlobalDeclaration( in AddGlobalDeclaration()
186 base::Optional<ParseResult> MakeCall(ParseResultIterator* child_results) { in MakeCall()
193 return ParseResult{result}; in MakeCall()
196 base::Optional<ParseResult> MakeBinaryOperator( in MakeBinaryOperator()
204 return ParseResult{result}; in MakeBinaryOperator()
207 base::Optional<ParseResult> MakeUnaryOperator( in MakeUnaryOperator()
214 return ParseResult{result}; in MakeUnaryOperator()
218 base::Optional<ParseResult> MakeParameterListFromTypes( in MakeParameterListFromTypes()
224 return ParseResult{std::move(result)}; in MakeParameterListFromTypes()
227 base::Optional<ParseResult> MakeParameterListFromNameAndTypeList( in MakeParameterListFromNameAndTypeList()
241 return ParseResult{std::move(result)}; in MakeParameterListFromNameAndTypeList()
244 base::Optional<ParseResult> MakeAssertStatement( in MakeAssertStatement()
251 return ParseResult{result}; in MakeAssertStatement()
254 base::Optional<ParseResult> MakeDebugStatement( in MakeDebugStatement()
259 return ParseResult{result}; in MakeDebugStatement()
262 base::Optional<ParseResult> MakeVoidType(ParseResultIterator* child_results) { in MakeVoidType()
264 return ParseResult{result}; in MakeVoidType()
267 base::Optional<ParseResult> MakeExternalMacro( in MakeExternalMacro()
283 return ParseResult{result}; in MakeExternalMacro()
286 base::Optional<ParseResult> MakeTorqueMacroDeclaration( in MakeTorqueMacroDeclaration()
304 return ParseResult{result}; in MakeTorqueMacroDeclaration()
307 base::Optional<ParseResult> MakeTorqueBuiltinDeclaration( in MakeTorqueBuiltinDeclaration()
324 return ParseResult{result}; in MakeTorqueBuiltinDeclaration()
327 base::Optional<ParseResult> MakeConstDeclaration( in MakeConstDeclaration()
334 return ParseResult{result}; in MakeConstDeclaration()
337 base::Optional<ParseResult> MakeExternConstDeclaration( in MakeExternConstDeclaration()
344 return ParseResult{result}; in MakeExternConstDeclaration()
347 base::Optional<ParseResult> MakeTypeAliasDeclaration( in MakeTypeAliasDeclaration()
352 return ParseResult{result}; in MakeTypeAliasDeclaration()
355 base::Optional<ParseResult> MakeTypeDeclaration( in MakeTypeDeclaration()
365 return ParseResult{result}; in MakeTypeDeclaration()
368 base::Optional<ParseResult> MakeExplicitModuleDeclaration( in MakeExplicitModuleDeclaration()
374 return ParseResult{result}; in MakeExplicitModuleDeclaration()
377 base::Optional<ParseResult> MakeSpecializationDeclaration( in MakeSpecializationDeclaration()
389 return ParseResult{result}; in MakeSpecializationDeclaration()
392 base::Optional<ParseResult> MakeStructDeclaration( in MakeStructDeclaration()
398 return ParseResult{result}; in MakeStructDeclaration()
401 base::Optional<ParseResult> MakeExternalBuiltin( in MakeExternalBuiltin()
416 return ParseResult{result}; in MakeExternalBuiltin()
419 base::Optional<ParseResult> MakeExternalRuntime( in MakeExternalRuntime()
427 return ParseResult{result}; in MakeExternalRuntime()
430 base::Optional<ParseResult> StringLiteralUnquoteAction( in StringLiteralUnquoteAction()
432 return ParseResult{ in StringLiteralUnquoteAction()
436 base::Optional<ParseResult> MakeBasicTypeExpression( in MakeBasicTypeExpression()
442 return ParseResult{result}; in MakeBasicTypeExpression()
445 base::Optional<ParseResult> MakeFunctionTypeExpression( in MakeFunctionTypeExpression()
451 return ParseResult{result}; in MakeFunctionTypeExpression()
454 base::Optional<ParseResult> MakeUnionTypeExpression( in MakeUnionTypeExpression()
459 return ParseResult{result}; in MakeUnionTypeExpression()
462 base::Optional<ParseResult> MakeExpressionStatement( in MakeExpressionStatement()
466 return ParseResult{result}; in MakeExpressionStatement()
469 base::Optional<ParseResult> MakeIfStatement( in MakeIfStatement()
484 return ParseResult{result}; in MakeIfStatement()
487 base::Optional<ParseResult> MakeTypeswitchStatement( in MakeTypeswitchStatement()
562 return ParseResult{result}; in MakeTypeswitchStatement()
565 base::Optional<ParseResult> MakeTypeswitchCase( in MakeTypeswitchCase()
570 return ParseResult{TypeswitchCase{child_results->matched_input().pos, in MakeTypeswitchCase()
574 base::Optional<ParseResult> MakeWhileStatement( in MakeWhileStatement()
579 return ParseResult{result}; in MakeWhileStatement()
582 base::Optional<ParseResult> MakeReturnStatement( in MakeReturnStatement()
586 return ParseResult{result}; in MakeReturnStatement()
589 base::Optional<ParseResult> MakeTailCallStatement( in MakeTailCallStatement()
593 return ParseResult{result}; in MakeTailCallStatement()
596 base::Optional<ParseResult> MakeVarDeclarationStatement( in MakeVarDeclarationStatement()
608 return ParseResult{result}; in MakeVarDeclarationStatement()
611 base::Optional<ParseResult> MakeBreakStatement( in MakeBreakStatement()
614 return ParseResult{result}; in MakeBreakStatement()
617 base::Optional<ParseResult> MakeContinueStatement( in MakeContinueStatement()
620 return ParseResult{result}; in MakeContinueStatement()
623 base::Optional<ParseResult> MakeGotoStatement( in MakeGotoStatement()
629 return ParseResult{result}; in MakeGotoStatement()
632 base::Optional<ParseResult> MakeBlockStatement( in MakeBlockStatement()
637 return ParseResult{result}; in MakeBlockStatement()
640 base::Optional<ParseResult> MakeTryLabelStatement( in MakeTryLabelStatement()
646 return ParseResult{result}; in MakeTryLabelStatement()
649 base::Optional<ParseResult> MakeForOfLoopStatement( in MakeForOfLoopStatement()
657 return ParseResult{result}; in MakeForOfLoopStatement()
660 base::Optional<ParseResult> MakeForLoopStatement( in MakeForLoopStatement()
667 return ParseResult{result}; in MakeForLoopStatement()
670 base::Optional<ParseResult> MakeLabelBlock(ParseResultIterator* child_results) { in MakeLabelBlock()
676 return ParseResult{result}; in MakeLabelBlock()
679 base::Optional<ParseResult> MakeRangeExpression( in MakeRangeExpression()
684 return ParseResult{result}; in MakeRangeExpression()
687 base::Optional<ParseResult> MakeExpressionWithSource( in MakeExpressionWithSource()
690 return ParseResult{ in MakeExpressionWithSource()
694 base::Optional<ParseResult> MakeIdentifierExpression( in MakeIdentifierExpression()
701 return ParseResult{result}; in MakeIdentifierExpression()
704 base::Optional<ParseResult> MakeFieldAccessExpression( in MakeFieldAccessExpression()
710 return ParseResult{result}; in MakeFieldAccessExpression()
713 base::Optional<ParseResult> MakeElementAccessExpression( in MakeElementAccessExpression()
718 return ParseResult{result}; in MakeElementAccessExpression()
721 base::Optional<ParseResult> MakeStructExpression( in MakeStructExpression()
727 return ParseResult{result}; in MakeStructExpression()
730 base::Optional<ParseResult> MakeAssignmentExpression( in MakeAssignmentExpression()
737 return ParseResult{result}; in MakeAssignmentExpression()
740 base::Optional<ParseResult> MakeNumberLiteralExpression( in MakeNumberLiteralExpression()
744 return ParseResult{result}; in MakeNumberLiteralExpression()
747 base::Optional<ParseResult> MakeStringLiteralExpression( in MakeStringLiteralExpression()
751 return ParseResult{result}; in MakeStringLiteralExpression()
754 base::Optional<ParseResult> MakeIncrementDecrementExpressionPostfix( in MakeIncrementDecrementExpressionPostfix()
760 return ParseResult{result}; in MakeIncrementDecrementExpressionPostfix()
763 base::Optional<ParseResult> MakeIncrementDecrementExpressionPrefix( in MakeIncrementDecrementExpressionPrefix()
769 return ParseResult{result}; in MakeIncrementDecrementExpressionPrefix()
772 base::Optional<ParseResult> MakeLogicalOrExpression( in MakeLogicalOrExpression()
777 return ParseResult{result}; in MakeLogicalOrExpression()
780 base::Optional<ParseResult> MakeLogicalAndExpression( in MakeLogicalAndExpression()
785 return ParseResult{result}; in MakeLogicalAndExpression()
788 base::Optional<ParseResult> MakeConditionalExpression( in MakeConditionalExpression()
795 return ParseResult{result}; in MakeConditionalExpression()
798 base::Optional<ParseResult> MakeLabelAndTypes( in MakeLabelAndTypes()
802 return ParseResult{LabelAndTypes{std::move(name), std::move(types)}}; in MakeLabelAndTypes()
805 base::Optional<ParseResult> MakeNameAndType( in MakeNameAndType()
809 return ParseResult{NameAndTypeExpression{std::move(name), type}}; in MakeNameAndType()
812 base::Optional<ParseResult> ExtractAssignmentOperator( in ExtractAssignmentOperator()
816 return ParseResult(std::move(result)); in ExtractAssignmentOperator()