Lines Matching refs:new
136 "namespace", "new", "noexcept", "not", "not_eq", "nullptr", "operator", "or", "or_eq",
144 "abstract", "continue", "for", "new", "switch", "assert", "default", "goto", "package",
353 : DOC_COMMENT { $$ = new DocComment($1, convertYYLoc(@1, ast), CommentType::DOC_MULTILINE); }
354 | MULTILINE_COMMENT { $$ = new DocComment($1, convertYYLoc(@1, ast), CommentType::MULTILINE); }
398 $$ = new std::vector<Annotation *>;
410 $$ = new Annotation($2, $3);
417 $$ = new AnnotationParamVector;
428 $$ = new AnnotationParamVector;
441 $$ = new StringAnnotationParam($1, $3);
448 $$ = new std::vector<std::string>;
457 $$ = new std::vector<std::string>;
487 $$ = new FQName();
497 $$ = new FQName();
510 $$ = new Reference<Type>($1->string(), *$1, convertYYLoc(@1, ast));
514 $$ = new Reference<Type>($1->definedName(), $1, convertYYLoc(@1, ast));
683 superType = new Reference<Type>();
694 … superType = new Reference<Type>(gIBaseFqName.string(), gIBaseFqName, convertYYLoc(@$, ast));
712 Interface* iface = new Interface(
741 TypeDef* typeDef = new TypeDef(
768 $$ = new ReferenceConstantExpression(
773 $$ = new AttributeConstantExpression(
778 $$ = new TernaryConstantExpression($1, $3, $5);
780 | const_expr LOGICAL_OR const_expr { $$ = new BinaryConstantExpression($1, "||", $3); }
781 | const_expr LOGICAL_AND const_expr { $$ = new BinaryConstantExpression($1, "&&", $3); }
782 | const_expr '|' const_expr { $$ = new BinaryConstantExpression($1, "|" , $3); }
783 | const_expr '^' const_expr { $$ = new BinaryConstantExpression($1, "^" , $3); }
784 | const_expr '&' const_expr { $$ = new BinaryConstantExpression($1, "&" , $3); }
785 | const_expr EQUALITY const_expr { $$ = new BinaryConstantExpression($1, "==", $3); }
786 | const_expr NEQ const_expr { $$ = new BinaryConstantExpression($1, "!=", $3); }
787 | const_expr '<' const_expr { $$ = new BinaryConstantExpression($1, "<" , $3); }
788 | const_expr '>' const_expr { $$ = new BinaryConstantExpression($1, ">" , $3); }
789 | const_expr LEQ const_expr { $$ = new BinaryConstantExpression($1, "<=", $3); }
790 | const_expr GEQ const_expr { $$ = new BinaryConstantExpression($1, ">=", $3); }
791 | const_expr LSHIFT const_expr { $$ = new BinaryConstantExpression($1, "<<", $3); }
792 | const_expr RSHIFT const_expr { $$ = new BinaryConstantExpression($1, ">>", $3); }
793 | const_expr '+' const_expr { $$ = new BinaryConstantExpression($1, "+" , $3); }
794 | const_expr '-' const_expr { $$ = new BinaryConstantExpression($1, "-" , $3); }
795 | const_expr '*' const_expr { $$ = new BinaryConstantExpression($1, "*" , $3); }
796 | const_expr '/' const_expr { $$ = new BinaryConstantExpression($1, "/" , $3); }
797 | const_expr '%' const_expr { $$ = new BinaryConstantExpression($1, "%" , $3); }
798 | '+' const_expr %prec UNARY_PLUS { $$ = new UnaryConstantExpression("+", $2); }
799 | '-' const_expr %prec UNARY_MINUS { $$ = new UnaryConstantExpression("-", $2); }
800 | '!' const_expr { $$ = new UnaryConstantExpression("!", $2); }
801 | '~' const_expr { $$ = new UnaryConstantExpression("~", $2); }
830 $$ = new Method($2 /* name */,
832 new std::vector<NamedReference<Type>*> /* results */,
839 $$ = new Method($3 /* name */,
841 new std::vector<NamedReference<Type>*> /* results */,
853 $$ = new Method($2 /* name */,
865 $$ = new TypedVarVector();
876 $$ = new TypedVarVector();
901 $$ = new NamedReference<Type>($2, *$1, convertYYLoc(@2, ast));
905 $$ = new NamedReference<Type>("", *$1, convertYYLoc(@1, ast));
926 CompoundType *container = new CompoundType(
977 NamedReference<Type>* field = new NamedReference<Type>($2, *$1, convertYYLoc(@2, ast));
1028 ScalarType* scalar = new ScalarType(ScalarType::KIND_INT64, *scope);
1029 … storageType = new Reference<Type>(scalar->definedName(), scalar, convertYYLoc(@2, ast));
1032 EnumType* enumType = new EnumType(
1064 $$ = new EnumValue($1 /* name */, nullptr /* value */, convertYYLoc(@$, ast));
1068 $$ = new EnumValue($1 /* name */, $3 /* value */, convertYYLoc(@$, ast));
1106 $$ = new Reference<Type>($1->definedName(), $1, convertYYLoc(@1, ast));
1112 $$ = new Reference<Type>($1->definedName(), $1, convertYYLoc(@1, ast));
1119 $$ = new ArrayType(*$1, $4, *scope);
1132 $$ = new Reference<Type>($1->definedName(), $1, convertYYLoc(@1, ast));
1137 $$ = new Reference<Type>("interface", gIBaseFqName, convertYYLoc(@1, ast));
1145 $$ = new Reference<Type>($1->definedName(), $1, convertYYLoc(@1, ast), true);