Home
last modified time | relevance | path

Searched refs:lastTok (Results 1 – 1 of 1) sorted by relevance

/packages/apps/ExactCalculator/src/com/android/calculator2/
DCalculatorExpr.java468 Token lastTok = s == 0 ? null : mExpr.get(s-1); in add() local
469 int lastOp = lastTok instanceof Operator ? ((Operator) lastTok).id : 0; in add()
512 Token lastTok = mExpr.get(mExpr.size() - 1); in addExponent() local
513 ((Constant) lastTok).addExponent(exp); in addExponent()
525 Token lastTok = mExpr.get(s-1); in removeTrailingAdditiveOperators() local
526 if (!(lastTok instanceof Operator)) { in removeTrailingAdditiveOperators()
529 int lastOp = ((Operator) lastTok).id; in removeTrailingAdditiveOperators()