In This Article

ImportDeclaration Class

Represents an import declaration.

public class ImportDeclaration : ModuleDeclaration, IStatement, IAstNode
Inheritance:
Object AstNodeBase ModuleDeclaration Object
Implements:
IStatement IAstNode

Remarks

This type was generated by the Actipro Language Designer tool v22.1.0.0 (http://www.actiprosoftware.com).

Constructors

ImportDeclaration()

public ImportDeclaration()

Properties

HasSpecifiers

Returns whether the Specifiers collection property contains at least one item.

public bool HasSpecifiers { get; }

Property Value

Boolean:

true if there is at least one item in the collection; otherwise, false.

Id

Gets the An integer value that identifies the type of AST node.

public override int Id { get; }

Property Value

Int32:

The An integer value that identifies the type of AST node.

Source

Gets or sets the source.

public string Source { get; set; }

Property Value

String:

The source.

Specifiers

Gets the specifiers.

public IList<ImportSpecifierBase> Specifiers { get; }

Property Value

IList<ImportSpecifierBase>:

The specifiers.

Methods

GetChildrenEnumerator()

Retrieves an IEnumerator object that can iterate the child IAstNode objects in this node.

protected override IEnumerator<IAstNode> GetChildrenEnumerator()

Returns

IEnumerator<IAstNode>:

An IEnumerator object that can iterate the child IAstNode objects in this node.

Inherited Members