ProjetCompil.Global.Src
Enum Noeud

java.lang.Object
  extended by java.lang.Enum<Noeud>
      extended by ProjetCompil.Global.Src.Noeud
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Noeud>

public enum Noeud
extends java.lang.Enum<Noeud>

Le type des noeuds d'un arbre.


Enum Constant Summary
Affect
           
Chaine
           
Conversion
           
Decl
           
Decrement
           
DivReel
           
Ecriture
           
Egal
           
Entier
           
Et
           
Ident
           
Increment
           
Index
           
Inf
           
InfEgal
           
Intervalle
           
Lecture
           
Ligne
           
ListeDecl
           
ListeExp
           
ListeIdent
           
ListeInst
           
Moins
           
MoinsUnaire
           
Mult
           
Non
           
NonEgal
           
Nop
           
Ou
           
Plus
           
PlusUnaire
           
Pour
           
Programme
           
Quotient
           
Reel
           
Reste
           
Si
           
Sup
           
SupEgal
           
Tableau
           
TantQue
           
Vide
           
 
Field Summary
 int arite
           
 
Method Summary
 java.lang.String toString()
          Affichage d'un noeud.
static Noeud valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Noeud[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Affect

public static final Noeud Affect

Chaine

public static final Noeud Chaine

Conversion

public static final Noeud Conversion

Decl

public static final Noeud Decl

Decrement

public static final Noeud Decrement

DivReel

public static final Noeud DivReel

Ecriture

public static final Noeud Ecriture

Egal

public static final Noeud Egal

Entier

public static final Noeud Entier

Et

public static final Noeud Et

Ident

public static final Noeud Ident

Increment

public static final Noeud Increment

Index

public static final Noeud Index

Inf

public static final Noeud Inf

InfEgal

public static final Noeud InfEgal

Intervalle

public static final Noeud Intervalle

Lecture

public static final Noeud Lecture

Ligne

public static final Noeud Ligne

ListeDecl

public static final Noeud ListeDecl

ListeIdent

public static final Noeud ListeIdent

ListeInst

public static final Noeud ListeInst

ListeExp

public static final Noeud ListeExp

Moins

public static final Noeud Moins

MoinsUnaire

public static final Noeud MoinsUnaire

Mult

public static final Noeud Mult

Non

public static final Noeud Non

NonEgal

public static final Noeud NonEgal

Nop

public static final Noeud Nop

Ou

public static final Noeud Ou

Plus

public static final Noeud Plus

PlusUnaire

public static final Noeud PlusUnaire

Pour

public static final Noeud Pour

Programme

public static final Noeud Programme

Quotient

public static final Noeud Quotient

Reel

public static final Noeud Reel

Reste

public static final Noeud Reste

Si

public static final Noeud Si

Sup

public static final Noeud Sup

SupEgal

public static final Noeud SupEgal

Tableau

public static final Noeud Tableau

TantQue

public static final Noeud TantQue

Vide

public static final Noeud Vide
Field Detail

arite

public final int arite
Method Detail

values

public static Noeud[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Noeud c : Noeud.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Noeud valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

toString

public java.lang.String toString()
Affichage d'un noeud.

Overrides:
toString in class java.lang.Enum<Noeud>