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

gw.lang.ir.IRSymbol Maven / Gradle / Ivy

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

package gw.lang.ir;

import gw.lang.UnstableAPI;

import java.util.List;

@UnstableAPI
public class IRSymbol {
  private String _name;
  private IRType _type;
  private boolean _temp;
  private List _annotations;

  public IRSymbol(String name, IRType type, boolean temp) {
    _name = name;
    _type = type;
    _temp = temp;
  }

  public String getName() {
    return _name;
  }

  public IRType getType() {
    return _type;
  }
  public void setType( IRType type ) {
    _type = type;
  }

  public boolean isTemp() {
    return _temp;
  }

  public void setAnnotations( List irAnnotations )
  {
    _annotations = irAnnotations;
  }
  public List getAnnotations()
  {
    return _annotations;
  }

  @Override
  public String toString()
  {
    return _name + " : " + _type;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy