MCPcopy Index your code
hub / github.com/beanshell/beanshell / PrimaryPrefix

Method PrimaryPrefix

src/bsh/Parser.java:2228–2267  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2226 }
2227
2228 final public void PrimaryPrefix() throws ParseException {
2229 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
2230 case FALSE:
2231 case NULL:
2232 case TRUE:
2233 case VOID:
2234 case INTEGER_LITERAL:
2235 case FLOATING_POINT_LITERAL:
2236 case CHARACTER_LITERAL:
2237 case STRING_LITERAL:
2238 case LONG_STRING_LITERAL:
2239 Literal();
2240 break;
2241 case LPAREN:
2242 jj_consume_token(LPAREN);
2243 Expression();
2244 jj_consume_token(RPAREN);
2245 break;
2246 case NEW:
2247 AllocationExpression();
2248 break;
2249 default:
2250 jj_la1[60] = jj_gen;
2251 if (jj_2_14(2147483647)) {
2252 MethodInvocation();
2253 } else if (jj_2_15(2147483647)) {
2254 Type();
2255 } else {
2256 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
2257 case IDENTIFIER:
2258 AmbiguousName();
2259 break;
2260 default:
2261 jj_la1[61] = jj_gen;
2262 jj_consume_token(-1);
2263 throw new ParseException();
2264 }
2265 }
2266 }
2267 }
2268
2269 final public void PrimarySuffix() throws ParseException {
2270 /*@bgen(jjtree) PrimarySuffix */

Callers 1

PrimaryExpressionMethod · 0.95

Calls 10

jj_ntkMethod · 0.95
LiteralMethod · 0.95
jj_consume_tokenMethod · 0.95
ExpressionMethod · 0.95
AllocationExpressionMethod · 0.95
jj_2_14Method · 0.95
MethodInvocationMethod · 0.95
jj_2_15Method · 0.95
TypeMethod · 0.95
AmbiguousNameMethod · 0.95

Tested by

no test coverage detected