public static class WyalFile.Declaration.Named.Function extends WyalFile.Declaration.Named.FunctionOrMacro
AbstractSyntacticItem.Blocks, AbstractSyntacticItem.Extras, AbstractSyntacticItem.Operands, AbstractSyntacticItem.SchemaWyalFile.Declaration.Named.Function, WyalFile.Declaration.Named.FunctionOrMacro, WyalFile.Declaration.Named.Macro, WyalFile.Declaration.Named.TypeWyalFile.Declaration.Assert, WyalFile.Declaration.Import, WyalFile.Declaration.Nameddata| Constructor and Description |
|---|
Function(WyalFile.Identifier name,
WyalFile.Tuple<WyalFile.VariableDeclaration> parameters,
WyalFile.Tuple<WyalFile.VariableDeclaration> returns) |
Function(WyalFile.Identifier name,
WyalFile.VariableDeclaration[] parameters,
WyalFile.VariableDeclaration[] returns) |
| Modifier and Type | Method and Description |
|---|---|
WyalFile.Declaration.Named.Function |
clone(SyntacticItem[] operands)
Create a new copy of the given syntactic item with the given operands.
|
WyalFile.Tuple<WyalFile.VariableDeclaration> |
getReturns() |
WyalFile.Type.Function |
getSignatureType() |
getName, getParametersallocate, compareTo, equals, getData, getIndex, getOpcode, getOperand, getOperands, getParent, hashCode, setOpcode, setOperand, size, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitallocate, getData, getIndex, getOpcode, getOperand, getOperands, getParent, setOpcode, setOperand, sizecompareTopublic Function(WyalFile.Identifier name, WyalFile.VariableDeclaration[] parameters, WyalFile.VariableDeclaration[] returns)
public Function(WyalFile.Identifier name, WyalFile.Tuple<WyalFile.VariableDeclaration> parameters, WyalFile.Tuple<WyalFile.VariableDeclaration> returns)
public WyalFile.Tuple<WyalFile.VariableDeclaration> getReturns()
public WyalFile.Type.Function getSignatureType()
getSignatureType in class WyalFile.Declaration.Named.FunctionOrMacropublic WyalFile.Declaration.Named.Function clone(SyntacticItem[] operands)
SyntacticItemsize() for this item, and
be of appropriate type.Copyright © 2017. All rights reserved.