MCPcopy Create free account
hub / github.com/mozilla/rhino / charAt

Method charAt

rhino/src/main/java/org/mozilla/javascript/ConsString.java:97–101  ·  view source on GitHub ↗
(int index)

Source from the content-addressed store, hash-verified

95 }
96
97 @Override
98 public char charAt(int index) {
99 String str = isFlat ? (String) left : flatten();
100 return str.charAt(index);
101 }
102
103 @Override
104 public CharSequence subSequence(int start, int end) {

Callers 15

toXmlNewlinesMethod · 0.45
ecmaToXmlMethod · 0.45
acceptMethod · 0.45
createMethod · 0.45
linebreaksMethod · 0.45
rawMethod · 0.45
quoteMethod · 0.45
parseISOStringMethod · 0.45
date_parseStringMethod · 0.45
appendMonthNameMethod · 0.45
appendWeekDayNameMethod · 0.45
stringToNumberMethod · 0.45

Calls 1

flattenMethod · 0.95

Tested by 11

linebreaksMethod · 0.36
rawMethod · 0.36
testFunction · 0.36
getMacFileStringMethod · 0.36
stripDoubleSlashesMethod · 0.36
getSlotMethod · 0.36
testFunction · 0.36
newlineLineEndingsMethod · 0.36
toStringMethod · 0.36
runMethod · 0.36
runNoForkMethod · 0.36