Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Compil3r.Quad
Class Operand.ParamListOperand  view Operand.ParamListOperand download Operand.ParamListOperand.java

java.lang.Object
  extended byCompil3r.Quad.Operand.ParamListOperand
All Implemented Interfaces:
Operand
Enclosing class:
Operand

public static class Operand.ParamListOperand
extends java.lang.Object
implements Operand


Nested Class Summary
 
Nested classes inherited from class Compil3r.Quad.Operand
Operand.AConstOperand, Operand.BasicBlockTableOperand, Operand.ConditionOperand, Operand.Const4Operand, Operand.Const8Operand, Operand.DConstOperand, Operand.FConstOperand, Operand.FieldOperand, Operand.IConstOperand, Operand.IntValueTableOperand, Operand.LConstOperand, Operand.MethodOperand, Operand.ParamListOperand, Operand.PConstOperand, Operand.RegisterOperand, Operand.TargetOperand, Operand.TypeOperand, Operand.UnnecessaryGuardOperand, Operand.Util
 
Field Summary
private  Quad instruction
           
(package private)  Operand.RegisterOperand[] params
           
 
Constructor Summary
Operand.ParamListOperand(Operand.RegisterOperand[] t)
           
 
Method Summary
 void attachToQuad(Quad q)
           
 Operand copy()
           
 Operand.RegisterOperand get(int i)
           
 Quad getQuad()
           
 boolean isSimilar(Operand that)
           
 int length()
           
 void set(int i, Operand.RegisterOperand b)
           
 java.lang.String toString()
          Convert this Object to a human-readable String.
 int words()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

instruction

private Quad instruction

params

Operand.RegisterOperand[] params
Constructor Detail

Operand.ParamListOperand

public Operand.ParamListOperand(Operand.RegisterOperand[] t)
Method Detail

set

public void set(int i,
                Operand.RegisterOperand b)

get

public Operand.RegisterOperand get(int i)

length

public int length()

words

public int words()

toString

public java.lang.String toString()
Description copied from class: java.lang.Object
Convert this Object to a human-readable String. There are no limits placed on how long this String should be or what it should contain. We suggest you make it as intuitive as possible to be able to place it into System.out.println() 55 and such.

It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.

This method will be called when performing string concatenation with this object. If the result is null, string concatenation will instead use "null".

The default implementation returns getClass().getName() + "@" + Integer.toHexString(hashCode()).


copy

public Operand copy()
Specified by:
copy in interface Operand

attachToQuad

public void attachToQuad(Quad q)
Specified by:
attachToQuad in interface Operand

getQuad

public Quad getQuad()
Specified by:
getQuad in interface Operand

isSimilar

public boolean isSimilar(Operand that)
Specified by:
isSimilar in interface Operand