Lines Matching refs:OneOf
990 Symbol* OneOf(std::vector<std::string> alternatives) { in OneOf() function
1053 Rule({OneOf({"+", "-", "!", "~"}), &unaryExpression}, MakeUnaryOperator),
1061 BinaryOperator(&unaryExpression, OneOf({"*", "/", "%"}));
1065 BinaryOperator(multiplicativeExpression, OneOf({"+", "-"}));
1069 BinaryOperator(additiveExpression, OneOf({"<<", ">>", ">>>"}));
1076 Rule({shiftExpression, OneOf({"<", ">", "<=", ">="}), shiftExpression},
1081 BinaryOperator(&relationalExpression, OneOf({"==", "!="}));
1085 BinaryOperator(equalityExpression, OneOf({"&", "|"}));
1109 Rule({OneOf({"*=", "/=", "%=", "+=", "-=", "<<=", ">>=", ">>>=", "&=",
1141 Rule({OneOf({"let", "const"}), &identifier, Token(":"), &type},
1146 Rule({OneOf({"let", "const"}), &identifier, Token(":"), &type, Token("="),
1163 Rule({OneOf({"debug", "unreachable"}), Token(";")}, MakeDebugStatement)};
1183 Rule({OneOf({"assert", "check"}), Token("("), &expressionWithSource,