All Downloads are FREE. Search and download functionalities are using the official Maven repository.

gw.lang.ir.expression.IRArrayLengthExpression Maven / Gradle / Ivy

There is a newer version: 1.18.2
Show newest version
/*
 * Copyright 2014 Guidewire Software, Inc.
 */

package gw.lang.ir.expression;

import gw.lang.ir.IRExpression;
import gw.lang.ir.IRType;
import gw.lang.ir.IRTypeConstants;
import gw.lang.UnstableAPI;

@UnstableAPI
public class IRArrayLengthExpression extends IRExpression {
  private IRExpression _root;

  public IRArrayLengthExpression(IRExpression root) {
    _root = root;
    root.setParent( this );
  }

  public IRExpression getRoot() {
    return _root;
  }

  @Override
  public IRType getType() {
    return IRTypeConstants.pINT();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy