dk.brics.string.intermediate
Class MethodHead
java.lang.Object
dk.brics.string.intermediate.Statement
dk.brics.string.intermediate.MethodHead
- All Implemented Interfaces:
- Comparable<Statement>
public class MethodHead
- extends Statement
Entry point of a method, modeled as a pseudo-statement.
Field Summary |
Variable[] |
params
The parameter variables for the method. |
params
public Variable[] params
- The parameter variables for the method.
MethodHead
public MethodHead(Variable[] params)
visitBy
public void visitBy(StatementVisitor v)
- Description copied from class:
Statement
- Visit this statement by the given statement visitor.
This will invoke the corresponding method in the visitor.
- Specified by:
visitBy
in class Statement
- Parameters:
v
- the visitor.
Copyright © 2003-2009 Anders Møller, Aske Simon Christensen, Asger Feldthaus.