vote
Class Constructor
java.lang.Object
|
+--vote.Ident
|
+--vote.Operation
|
+--vote.Function
|
+--vote.Constructor
- public class Constructor
- extends Function
This class represents a constructor identifier.
- Author:
- P. URSO
- See Also:
Type
,
SortList
Constructor Summary |
Constructor(String name,
vote.Type type)
Constructor of the constructor. |
Method Summary |
vote.Instruction |
getDefinition()
Returns the definition of the constructor. |
Constructor
public Constructor(String name,
vote.Type type)
- Constructor of the constructor.
- Parameters:
name
- name of the constructor.type
- return type of the constructor.
getDefinition
public vote.Instruction getDefinition()
- Returns the definition of the constructor.
- Overrides:
getDefinition
in class Function
- Returns:
- null (of course).