org.millscript.millscript.syntax
Class FunctionSyntax

java.lang.Object
  extended by org.millscript.millscript.syntax.Syntax
      extended by org.millscript.millscript.syntax.PrefixSyntax
          extended by org.millscript.millscript.syntax.ProcedureSyntax
              extended by org.millscript.millscript.syntax.FunctionSyntax
All Implemented Interfaces:
PrefixSyntaxInterface

public final class FunctionSyntax
extends ProcedureSyntax

This class implements function syntax.

See Also:
LambdaExpr, VarExpr

Method Summary
 VarExpr procedure(FunctionHeader header, Expr body, Parser parser)
          Returns the expression for this type of proceedure syntax.
 
Methods inherited from class org.millscript.millscript.syntax.ProcedureSyntax
prefix
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

procedure

public VarExpr procedure(FunctionHeader header,
                         Expr body,
                         Parser parser)
Description copied from class: ProcedureSyntax
Returns the expression for this type of proceedure syntax.

Specified by:
procedure in class ProcedureSyntax
Parameters:
header - the procedure header
body - the procedure body
parser - the current parser
Returns:
an Expr for this procedure
See Also:
ProcedureSyntax.procedure(org.millscript.millscript.syntax.FunctionHeader, org.millscript.millscript.expr.Expr, org.millscript.millscript.syntax.Parser)


Copyright © 2001-2007 Open World Ltd. All Rights Reserved.