
com.tangosol.dev.compiler.java.PostIncExpression Maven / Gradle / Ivy
/*
* Copyright (c) 2000, 2020, Oracle and/or its affiliates.
*
* Licensed under the Universal Permissive License v 1.0 as shown at
* http://oss.oracle.com/licenses/upl.
*/
package com.tangosol.dev.compiler.java;
/**
* The post-increment (++) expression.
*
* @version 1.00, 10/05/98
* @author Cameron Purdy
*/
public class PostIncExpression extends IncExpression
{
// ----- construction ---------------------------------------------------
/**
* Construct a PostIncExpression.
*
* @param operator the operator token
* @param expr the sub-expression
*/
public PostIncExpression(Token operator, Expression expr)
{
super(operator, expr);
// expression is first, operator is last
setStartToken(expr.getStartToken());
setEndToken(operator);
}
// ----- data members ---------------------------------------------------
/**
* The class name.
*/
private static final String CLASS = "PostIncExpression";
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy