Package org.allspice.structured.expr

Examples of org.allspice.structured.expr.Expr


* @param state
* @return The object
**/
private static final ImmutableCollection<Expr> reduce109(PositionRange range,Parser parser,ParserState state) {
      ImmutableCollection<Expr> init_list = (ImmutableCollection<Expr>)state.reductions.tail.tail.head.o ;
      Expr init = (Expr)state.reductions.head.o ;
{
  return init_list.insert(init) ;
}
}
View Full Code Here


* @return The object
**/
private static final VarRec reduce121(PositionRange range,Parser parser,ParserState state) {
      String ID = (String)state.reductions.tail.tail.head.o ;
      String arraydims = (String)state.reductions.tail.head.o ;
      Expr init_opt = (Expr)state.reductions.head.o ;
{
  return new VarRec(arraydims,ID,init_opt) ;
}
}
View Full Code Here

* @param state
* @return The object
**/
private static final Expr reduce126(PositionRange range,Parser parser,ParserState state) {
      String type = (String)state.reductions.tail.tail.head.o ;
      Expr term = (Expr)state.reductions.head.o ;
{
  return new org.allspice.structured.expr.ConvertExpr(term,type,range) ;
}
}
View Full Code Here

* @param parser
* @param state
* @return The object
**/
private static final Expr reduce127(PositionRange range,Parser parser,ParserState state) {
      Expr term = (Expr)state.reductions.head.o ;
{
  return new org.allspice.structured.expr.NotExpr(term,range) ;
}
}
View Full Code Here

* @param parser
* @param state
* @return The object
**/
private static final Expr reduce128(PositionRange range,Parser parser,ParserState state) {
      Expr term = (Expr)state.reductions.head.o ;
{
  return new org.allspice.structured.expr.BitNotExpr(term,range) ;
}
}
View Full Code Here

* @param parser
* @param state
* @return The object
**/
private static final Expr reduce129(PositionRange range,Parser parser,ParserState state) {
      Expr term = (Expr)state.reductions.head.o ;
{
  return new org.allspice.structured.expr.NegateExpr(term,range) ;
}
}
View Full Code Here

* @param parser
* @param state
* @return The object
**/
private static final Expr reduce130(PositionRange range,Parser parser,ParserState state) {
      Expr term = (Expr)state.reductions.head.o ;
{
  return new org.allspice.structured.expr.PositiveExpr(term,range) ;
}
}
View Full Code Here

* @param parser
* @param state
* @return The object
**/
private static final Expr reduce131(PositionRange range,Parser parser,ParserState state) {
      Expr term = (Expr)state.reductions.head.o ;
{
  return new org.allspice.structured.expr.PreIncExpr(term,range) ;
}
}
View Full Code Here

* @param parser
* @param state
* @return The object
**/
private static final Expr reduce132(PositionRange range,Parser parser,ParserState state) {
      Expr term = (Expr)state.reductions.head.o ;
{
  return new org.allspice.structured.expr.PreDecExpr(term,range) ;
}
}
View Full Code Here

* @param parser
* @param state
* @return The object
**/
private static final Expr reduce133(PositionRange range,Parser parser,ParserState state) {
      Expr factor = (Expr)state.reductions.head.o ;
{
  return factor ;
}
}
View Full Code Here

TOP

Related Classes of org.allspice.structured.expr.Expr

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.