Home
last modified time | relevance | path

Searched refs:formals (Results 1 – 16 of 16) sorted by relevance

/external/v8/src/parsing/
Dpreparser.cc159 PreParserFormalParameters formals(function_scope); in PreParseFunction() local
169 ParseFormalParameterList(&formals, CHECK_OK_VALUE(kPreParseSuccess)); in PreParseFunction()
174 formals.arity, kind, formals.has_rest, function_scope->start_position(), in PreParseFunction()
182 if (!formals.is_simple) { in PreParseFunction()
189 result = ParseStatementListAndLogFunction(&formals, may_abort, ok); in PreParseFunction()
192 if (!formals.is_simple) { in PreParseFunction()
193 BuildParameterInitializationBlock(formals, ok); in PreParseFunction()
234 is_sloppy(function_scope->language_mode()) && formals.is_simple && in PreParseFunction()
312 PreParserFormalParameters formals(function_scope); in ParseFunctionLiteral() local
313 ParseFormalParameterList(&formals, CHECK_OK); in ParseFunctionLiteral()
[all …]
Dparser.cc799 ParserFormalParameters formals(scope); in DoParseFunction() local
810 ParseFormalParameterList(&formals, &ok); in DoParseFunction()
814 ParseFormalParameter(&formals, &ok); in DoParseFunction()
816 DeclareFormalParameters(formals.scope, formals.params, in DoParseFunction()
817 formals.is_simple); in DoParseFunction()
830 for (auto p : formals.params) { in DoParseFunction()
845 accept_IN, formals, rewritable_length, &ok); in DoParseFunction()
3082 ParserFormalParameters formals(function_scope); in ParseFunction() local
3093 AddFormalParameter(&formals, argument, NullExpression(), in ParseFunction()
3096 DCHECK_EQ(arguments_length, formals.num_parameters()); in ParseFunction()
[all …]
Dpreparser.h1034 PreParserFormalParameters* formals, bool maybe_abort, bool* ok);
/external/bcc/src/cc/frontends/b/
Dparser.cc148 StmtNode * Parser::struct_add(IdentExprNode *type, FormalList *formals) { in struct_add() argument
149 auto struct_decl = new StructDeclStmtNode(IdentExprNode::Ptr(type), move(*formals)); in struct_add()
174 StmtNode * Parser::result_add(int token, IdentExprNode *id, FormalList *formals, BlockStmtNode *bod… in result_add() argument
178 … stmt = new MatchDeclStmtNode(IdentExprNode::Ptr(id), move(*formals), BlockStmtNode::Ptr(body)); in result_add()
181 stmt = new MissDeclStmtNode(IdentExprNode::Ptr(id), move(*formals), BlockStmtNode::Ptr(body)); in result_add()
184 … stmt = new FailureDeclStmtNode(IdentExprNode::Ptr(id), move(*formals), BlockStmtNode::Ptr(body)); in result_add()
193 IdentExprNode *id, FormalList *formals, BlockStmtNode *body) { in func_add() argument
194 …auto decl = new FuncDeclStmtNode(IdentExprNode::Ptr(id), move(*formals), BlockStmtNode::Ptr(body)); in func_add()
201 for (auto it = formals->begin(); it != formals->end(); ++it) in func_add()
Dparser.h48 IdentExprNode *id, FormalList *formals, BlockStmtNode *body);
50 StmtNode * struct_add(IdentExprNode *type, FormalList *formals);
51 StmtNode * result_add(int token, IdentExprNode *id, FormalList *formals, BlockStmtNode *body);
Dnode.h557 MatchDeclStmtNode(IdentExprNode::Ptr id, FormalList&& formals, BlockStmtNode::Ptr block) in MatchDeclStmtNode() argument
558 : id_(move(id)), formals_(move(formals)), block_(move(block)) {} in MatchDeclStmtNode()
568 MissDeclStmtNode(IdentExprNode::Ptr id, FormalList&& formals, BlockStmtNode::Ptr block) in MissDeclStmtNode() argument
569 : id_(move(id)), formals_(move(formals)), block_(move(block)) {} in MissDeclStmtNode()
579 FailureDeclStmtNode(IdentExprNode::Ptr id, FormalList&& formals, BlockStmtNode::Ptr block) in FailureDeclStmtNode() argument
580 : id_(move(id)), formals_(move(formals)), block_(move(block)) {} in FailureDeclStmtNode()
613 FuncDeclStmtNode(IdentExprNode::Ptr id, FormalList&& formals, BlockStmtNode::Ptr block) in FuncDeclStmtNode() argument
614 : id_(move(id)), formals_(move(formals)), block_(move(block)), scope_(NULL) {} in FuncDeclStmtNode()
Dparser.yy66 FormalList *formals;
93 %type <formals> struct_decl_stmts formals
262 …: type_specifiers ident enter_statescope enter_varscope TLPAREN formals TRPAREN block exit_varscop…
276 : TMATCH ident enter_varscope TLPAREN formals TRPAREN block exit_varscope TSEMI
284 | TFAILURE ident enter_varscope TLPAREN formals TRPAREN block exit_varscope TSEMI
290 formals
293 | formals TCOMMA TSTRUCT ptr_decl
Dcodegen_llvm.cc1157 vector<Type *> formals; in visit_func_decl_stmt_node() local
1166 formals.push_back(PointerType::getUnqual(stype)); in visit_func_decl_stmt_node()
1168 formals.push_back(B.getIntNTy(formal->bit_width_)); in visit_func_decl_stmt_node()
1171 FunctionType *fn_type = FunctionType::get(B.getInt32Ty(), formals, /*isVarArg=*/false); in visit_func_decl_stmt_node()
/external/turbine/java/com/google/turbine/binder/
DTypeBinder.java269 ImmutableList<ParamInfo> formals; in maybeDefaultConstructor() local
271 formals = ImmutableList.of(enclosingInstanceParameter()); in maybeDefaultConstructor()
273 formals = ImmutableList.of(); in maybeDefaultConstructor()
276 syntheticConstructor(formals, TurbineVisibility.fromAccess(base.access()))); in maybeDefaultConstructor()
280 ImmutableList<ParamInfo> formals, TurbineVisibility visibility) { in syntheticConstructor() argument
287 formals, in syntheticConstructor()
DConstBinder.java142 private ImmutableList<ParamInfo> bindParameters(ImmutableList<ParamInfo> formals) { in bindParameters() argument
144 for (ParamInfo base : formals) { in bindParameters()
/external/turbine/java/com/google/turbine/binder/bytecode/
DBytecodeBoundClass.java414 ImmutableList.Builder<ParamInfo> formals = ImmutableList.builder(); in bindMethod() local
428 formals.add(new ParamInfo(BytecodeBinder.bindTy(tySig, scope), name, annotations, access)); in bindMethod()
446 formals.build(), in bindMethod()
/external/turbine/java/com/google/turbine/parse/
DParser.java851 ImmutableList.Builder<VarDecl> formals = ImmutableList.builder(); in methodRest() local
852 formalParams(formals, access); in methodRest()
899 formals.build(), in methodRest()
/external/error_prone/checkerframework/
Ddataflow-2.5.3.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/checkerframework/ org/ ...
/external/v8/src/inspector/build/closure-compiler/
Dclosure-compiler.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/ ...
/external/dagger2/lib/
Dauto-value-1.4.1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/error_prone/error_prone/
Derror_prone_core-2.3.2-with-dependencies.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/services/ META- ...