Home
last modified time | relevance | path

Searched refs:TypeExp (Results 1 – 25 of 37) sorted by relevance

12

/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Dtypesem.c109 e = new ArrayExp(t->loc, e, new TypeExp(t->loc, (Type *)id)); in typeToExpressionHelper()
H A Daliasthis.c67 e = new TypeExp(loc, new TypeTypeof(loc, e)); in resolveAliasThis()
H A Dexpression.c1004 TypeExp *e = (TypeExp *)arg; in expandTuples()
3313 return semantic(new TypeExp(loc, t), sc); in resolve()
4157 return new DotIdExp(loc, new TypeExp(loc, type), ident); in typeDotIdExp()
4165 TypeExp::TypeExp(Loc loc, Type *type) in TypeExp() function
4166 : Expression(loc, TOKtype, sizeof(TypeExp)) in TypeExp()
4172 Expression *TypeExp::syntaxCopy() in syntaxCopy()
4174 return new TypeExp(loc, type->syntaxCopy()); in syntaxCopy()
4177 bool TypeExp::checkType() in checkType()
4183 bool TypeExp::checkValue() in checkValue()
4510 Expression *e = new TypeExp(loc, t); in TupleExp()
H A Dvisitor.h194 class TypeExp; variable
488 virtual void visit(TypeExp *e) { visit((Expression *)e); } in visit()
H A Dexpressionsem.c802 void visit(TypeExp *exp) in visit()
974 Expression *ex = new TypeExp(exp->loc, t); in visit()
2567 e = new TypeExp(exp->loc, (Type *)o); in visit()
3108 ue->e1 = new TypeExp(ue1->loc, ue1->type); in visit()
4292 Expression *e = new TypeExp(exp->loc, exp->to); in visit()
4418 Expression *e = new TypeExp(exp->loc, exp->e1->type->arrayOf()); in visit()
4642 e = new TypeExp(exp->e1->loc, new TypeTuple(args)); in visit()
4876 Expression *e = new TypeExp(exp->loc, nt); in visit()
5028 … e = new TypeExp(exp->e1->loc, Parameter::getNth(tup->arguments, (size_t)index)->type); in visit()
8360 exp->e1 = new TypeExp(exp->e1->loc, ad->type); in semanticY()
[all …]
H A Dcond.c222 return new CallExp(loc, new TypeExp(loc, type), e); in createTuple()
H A Dexpression.h498 class TypeExp : public Expression
501 TypeExp(Loc loc, Type *type);
H A Dmtype.c6647 (*elems)[i] = ((TypeExp *)src)->type; in semantic()
6671 result = ((TypeExp *)e)->type; in semantic()
6791 eindex = new TypeExp(loc, tindex); in resolveTupleIndex()
6883 ex = new TypeExp(loc, tx); in resolveHelper()
7414 Expression *e = typeToExpressionHelper(this, new TypeExp(loc, t)); in resolve()
7516 Expression *e = typeToExpressionHelper(this, new TypeExp(loc, t)); in resolve()
7990 return ::semantic(new TypeExp(e->loc, t), sc); in dotExp()
8694 return ::semantic(new TypeExp(e->loc, t), sc); in dotExp()
H A Dparse.c6947 e = new TypeExp(loc, t); in parsePrimaryExp()
6963 e = new TypeExp(loc, t); in parsePrimaryExp()
6970 e = new TypeExp(loc, t); in parsePrimaryExp()
7422 e = new TypeExp(loc, t); in parseUnaryExp()
7529 e = new TypeExp(loc, t); in parseUnaryExp()
H A Ddsymbol.c1675 Type *t = ((TypeExp *)ce)->type; in search()
/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/
H A Daliasthis.d131 e = new TypeExp(loc, new TypeTypeof(loc, e));
H A Dexpression.h148 TypeExp* isTypeExp();
488 class TypeExp : public Expression
491 TypeExp *syntaxCopy();
H A Dlambdacomp.d493 override void visit(TypeExp) { buf.setsize(0); } in visit() argument
H A Dtypesem.d133 eindex = new TypeExp(loc, tindex); in resolveTupleIndex()
255 ex = new TypeExp(loc, tx);
587 return new TypeExp(t.loc, t); in typeToExpression()
629 e = new ArrayExp(t.loc, e, new TypeExp(t.loc, cast(Type)id));
3181 auto e = typeToExpressionHelper(mt, new TypeExp(loc, t)); in visitTypeof()
3221 auto e = typeToExpressionHelper(mt, new TypeExp(loc, t)); in visitReturn()
4014 return (new TypeExp(e.loc, t)).expressionSemantic(sc); in dotExp()
4422 return (new TypeExp(e.loc, t)).expressionSemantic(sc); in dotExp()
H A Dvisitor.h202 class TypeExp; variable
484 virtual void visit(TypeExp *e) { visit((Expression *)e); } in visit()
H A Dexpression.d285 (*texps)[j] = new TypeExp(e.loc, a.type); in expandTuples()
612 return new DotIdExp(loc, new TypeExp(loc, type), ident); in typeDotIdExp()
1643 inout(TypeExp) isTypeExp() { return op == EXP.type ? cast(typeof(return))this : null; } in isTypeExp()
2874 Expression e = new TypeExp(loc, t); in this()
3388 extern (C++) final class TypeExp : Expression
3392 super(loc, EXP.type, __traits(classInstanceSize, TypeExp)); in this()
3397 override TypeExp syntaxCopy() in syntaxCopy()
3399 return new TypeExp(loc, type.syntaxCopy()); in syntaxCopy()
H A Dcond.d278 return new CallExp(loc, new TypeExp(loc, type), e); in private()
H A Dexpressionsem.d966 return (new TypeExp(loc, t)).expressionSemantic(sc); in symbolToExp()
2642 e = new TypeExp(exp.loc, withsym.withstate.exp.type); in visit()
2767 e = new TypeExp(exp.loc, t); in visit()
3248 override void visit(TypeExp exp) in visit()
3422 result = (new TypeExp(exp.loc, t)).expressionSemantic(sc); in visit()
4434 TypeExp te = cast(TypeExp)exp.e1; in visit()
6571 e = new TypeExp(exp.loc, cast(Type)o); in visit()
7556 Expression e = new TypeExp(exp.loc, exp.to); in visit()
7775 Expression e = new TypeExp(exp.loc, exp.e1.type.arrayOf()); in visit()
8006 e = new TypeExp(exp.e1.loc, new TypeTuple(args)); in visit()
[all …]
H A Dparse.d8147 e = new AST.TypeExp(loc, t); in parsePrimaryExp()
8157 e = new AST.DotIdExp(loc, new AST.TypeExp(loc, t), token.ident); in parsePrimaryExp()
8164 e = new AST.TypeExp(loc, t); in parsePrimaryExp()
8170 e = new AST.TypeExp(loc, t); in parsePrimaryExp()
8555 e = new AST.DotIdExp(loc, new AST.TypeExp(loc, t), token.ident); in parseUnaryExp()
8561 e = new AST.TypeExp(loc, t); in parseUnaryExp()
8674 e = new AST.TypeExp(loc, t); in parseUnaryExp()
H A Dparsetimevisitor.d192 void visit(AST.TypeExp e) { visit(cast(AST.Expression)e); } in ParseTimeVisitor()
H A Dtransitivevisitor.d948 override void visit(AST.TypeExp e) in ParseVisitMethods()
H A Dcparse.d976 e = new AST.TypeExp(loc, t); in cparseUnaryExp()
998 e = new AST.TypeExp(loc, t); in cparseUnaryExp()
2272 auto e = new AST.TypeExp(loc, talign); in cparseDeclarationSpecifiers()
H A Dtraits.d969 return (new TypeExp(e.loc, t)).expressionSemantic(sc); in semanticTraits()
H A Dstatementsem.d2436 compileTimeArgs.push(new TypeExp(ss.loc, ss.condition.type.nextOf())); in package()
3469 Dsymbol s = (cast(TypeExp)ws.exp).type.toDsymbol(sc); in package()
/netbsd-src/external/gpl3/gcc/dist/gcc/d/
H A DChangeLog-201899 (ExprVisitor::visit(TypeExp)): Likewise.

12