Lines Matching refs:Operator
786 /// ParseOperation - Parse an operator. This returns null on error.
811 TokError("did not get type for unary operator");
831 TokError("expected '(' after unary operator");
846 TokError("expected list or string type argument in unary operator");
853 TokError("expected list or string type argument in unary operator");
861 TokError("expected list type argument in unary operator");
866 TokError("empty list argument in unary operator");
873 TokError("untyped list element in unary operator");
882 assert(LHSt && "expected list type argument in unary operator");
885 TokError("expected list type argument in unary operator");
898 TokError("expected ')' in unary operator");
939 TokError("expected '(' after binary operator");
957 TokError("expected ')' in operator");
990 Error(OpLoc, "expected two operands to operator");
1015 TokError("expected '(' after ternary operator");
1024 TokError("expected ',' in ternary operator");
1034 TokError("expected ',' in ternary operator");
1044 TokError("expected ')' in binary operator");
1115 /// ParseOperatorType - Parse a type for an operator. This returns
1124 TokError("expected type name for operator");
1132 TokError("expected type name for operator");
1137 TokError("expected type name for operator");
1407 Init *Operator = ParseValue(CurRec);
1408 if (!Operator) return nullptr;
1410 // If the operator name is present, parse it.
1414 TokError("expected variable name in dag operator");
1433 return DagInit::get(Operator, OperatorName, DagArgs);