tokenizer.AST : dylan.NET.Tokenizer.AST.Tokens Namespace

MethodCallTok Class

Represents a method call in the form method-name(param1,param2,...).

Syntax

public class MethodCallTok : Token

Remarks

This class' design allows dylan.NET method calls to use method calls and expressions as parameters.

Requirements

Namespace: dylan.NET.Tokenizer.AST.Tokens
Assembly: tokenizer.AST (in tokenizer.AST.dll)
Assembly Versions: 11.2.7.2, 11.2.7.3, 11.2.7.4

Members

See Also: Inherited members from Token.

Public Constructors

Constructs a new MethodCallTok.
Constructs a new MethodCallTok.

Public Fields

Line int . The Line where this Token was found. (Inherited from Token.)
Name MethodNameTok . The MethodName instance containg the method's name and other information.
Params dylan.NET.Tokenizer.AST.Exprs.Expr[]. The array of parameter expressions to be passed to the method.
PopFlg bool . Documentation for this section has not yet been entered.
Value string . The textual value of the Token. (Inherited from Token.)

Public Methods

AddParam (dylan.NET.Tokenizer.AST.Exprs.Expr)
Adds another parameter expression to the list of parameters.

Member Details

MethodCallTok Constructor

Constructs a new MethodCallTok.

Syntax

public MethodCallTok ()

Remarks

Requirements

Namespace: dylan.NET.Tokenizer.AST.Tokens
Assembly: tokenizer.AST (in tokenizer.AST.dll)
Assembly Versions: 11.2.7.2, 11.2.7.3, 11.2.7.4

MethodCallTok Constructor

Constructs a new MethodCallTok.

Syntax

public MethodCallTok (string value)

Parameters

value
This parameter is not usable in this class so use the other constructor.

Remarks

Requirements

Namespace: dylan.NET.Tokenizer.AST.Tokens
Assembly: tokenizer.AST (in tokenizer.AST.dll)
Assembly Versions: 11.2.7.2, 11.2.7.3, 11.2.7.4

AddParam Method

Adds another parameter expression to the list of parameters.

Syntax

public void AddParam (dylan.NET.Tokenizer.AST.Exprs.Expr paramtoadd)

Parameters

paramtoadd
The Expr instance holding the expression whose evaluated value will be passed as the parameter.

Remarks

Initially the amount of parameters is 0.

Requirements

Namespace: dylan.NET.Tokenizer.AST.Tokens
Assembly: tokenizer.AST (in tokenizer.AST.dll)
Assembly Versions: 11.2.7.2, 11.2.7.3, 11.2.7.4

Name Field

The MethodName instance containg the method's name and other information.

Syntax

public MethodNameTok Name

Remarks

Any identifier whose Value is a valid and accessible method name can be used as a valid value for this field provided that the Params fields is adequatley set.

Requirements

Namespace: dylan.NET.Tokenizer.AST.Tokens
Assembly: tokenizer.AST (in tokenizer.AST.dll)
Assembly Versions: 11.2.7.2, 11.2.7.3, 11.2.7.4

Params Field

The array of parameter expressions to be passed to the method.

Syntax

Remarks

The result type of each parameter in conjunction with the method name leads to the resolution of a MethodInfo instance.

Requirements

Namespace: dylan.NET.Tokenizer.AST.Tokens
Assembly: tokenizer.AST (in tokenizer.AST.dll)
Assembly Versions: 11.2.7.2, 11.2.7.3, 11.2.7.4

PopFlg Field

Documentation for this section has not yet been entered.

Syntax

public bool PopFlg

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: dylan.NET.Tokenizer.AST.Tokens
Assembly: tokenizer.AST (in tokenizer.AST.dll)
Assembly Versions: 11.2.7.4