public void onMethodParameter(Token<?> lookhead) { this.tokenList.add( new DelegateToken( lookhead == null ? -1 : lookhead.getStartIndex(), lookhead, DelegateTokenType.Method_Param)); }
public void onTernaryLeft(Token<?> lookhead) { this.tokenList.add( new DelegateToken( lookhead == null ? -1 : lookhead.getStartIndex(), lookhead, DelegateTokenType.Ternary_Left)); }
public void onArrayIndexStart(Token<?> lookhead) { this.tokenList.add( new DelegateToken( lookhead == null ? -1 : lookhead.getStartIndex(), lookhead, DelegateTokenType.Index_Start)); }
public void onBitXor(Token<?> lookhead) { this.tokenList.add( new OperatorToken(lookhead == null ? -1 : lookhead.getStartIndex(), OperatorType.BIT_XOR)); }
public void onUnsignedShiftRight(Token<?> lookhead) { this.tokenList.add( new OperatorToken( lookhead == null ? -1 : lookhead.getStartIndex(), OperatorType.U_SHIFT_RIGHT)); }
public void onShiftLeft(Token<?> lookhead) { this.tokenList.add( new OperatorToken( lookhead == null ? -1 : lookhead.getStartIndex(), OperatorType.SHIFT_LEFT)); }
public void onTernaryRight(Token<?> lookhead) { this.tokenList.add( new OperatorToken(lookhead == null ? -1 : lookhead.getStartIndex(), OperatorType.TERNARY)); }
public void onSub(Token<?> lookhead) { this.tokenList.add( new OperatorToken(lookhead == null ? -1 : lookhead.getStartIndex(), OperatorType.SUB)); }
public void onMethodInvoke(Token<?> lookhead) { this.tokenList.add( new OperatorToken(lookhead == null ? -1 : lookhead.getStartIndex(), OperatorType.FUNC)); }
public void onJoinRight(Token<?> lookhead) { this.tokenList.add( new OperatorToken(lookhead == null ? -1 : lookhead.getStartIndex(), OperatorType.OR)); }
public void onArrayIndexEnd(Token<?> lookhead) { this.tokenList.add( new OperatorToken(lookhead == null ? -1 : lookhead.getStartIndex(), OperatorType.INDEX)); }