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

Method AmbiguousName

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

Source from the content-addressed store, hash-verified

1058 }
1059
1060 final public void AmbiguousName() throws ParseException {
1061 /*@bgen(jjtree) AmbiguousName */
1062 BSHAmbiguousName jjtn000 = new BSHAmbiguousName(JJTAMBIGUOUSNAME);
1063 boolean jjtc000 = true;
1064 jjtree.openNodeScope(jjtn000);
1065 jjtreeOpenNodeScope(jjtn000);Token t;
1066 StringBuilder s;
1067 try {
1068 t = jj_consume_token(IDENTIFIER);
1069 s = new StringBuilder(t.image);
1070 label_5:
1071 while (true) {
1072 if (jj_2_7(2)) {
1073 ;
1074 } else {
1075 break label_5;
1076 }
1077 jj_consume_token(DOT);
1078 t = jj_consume_token(IDENTIFIER);
1079 s.append("."+t.image);
1080 }
1081 jjtree.closeNodeScope(jjtn000, true);
1082 jjtc000 = false;
1083 jjtreeCloseNodeScope(jjtn000);
1084 jjtn000.text = s.toString();
1085 } finally {
1086 if (jjtc000) {
1087 jjtree.closeNodeScope(jjtn000, true);
1088 jjtreeCloseNodeScope(jjtn000);
1089 }
1090 }
1091 }
1092
1093 final public int NameList() throws ParseException {
1094 int count = 0;

Callers 9

ClassDeclarationMethod · 0.95
PackageDeclarationMethod · 0.95
ImportDeclarationMethod · 0.95
TypeMethod · 0.95
NameListMethod · 0.95
CastLookaheadMethod · 0.95
MethodInvocationMethod · 0.95
PrimaryPrefixMethod · 0.95
AllocationExpressionMethod · 0.95

Calls 8

jjtreeOpenNodeScopeMethod · 0.95
jj_consume_tokenMethod · 0.95
jj_2_7Method · 0.95
jjtreeCloseNodeScopeMethod · 0.95
openNodeScopeMethod · 0.80
appendMethod · 0.80
closeNodeScopeMethod · 0.80
toStringMethod · 0.45

Tested by

no test coverage detected