C# Класс XSpect.Yacq.SystemObjects.ModuleLoader

Loads YACQ text scripts, binary scripts, and libraries.
Показать файл Открыть проект

Открытые методы

Метод Описание
Import ( SymbolTable symbols, String name ) : Expression

Loads the file, apply to new SymbolTable and add the symbol named as file name, which refers to it in specified SymbolTable.

Import ( SymbolTable symbols, String name, String symbolName ) : Expression

Loads the file, apply to new SymbolTable and add the symbol with specified name, which refers to it in specified SymbolTable.

Load ( SymbolTable symbols, String name ) : Expression

Loads the file and apply to specified SymbolTable.

Load ( SymbolTable symbols, SymbolTable sourceSymbols ) : Expression

Adds symbols in specified SymbolTable.

ModuleLoader ( ) : System

Initializes a new instance of the ModuleLoader class.

Приватные методы

Метод Описание
CreatePathSymbols ( SymbolTable symbols, IEnumerable fragments ) : SymbolTable
Get ( SymbolTable symbols, String name ) : String>.Tuple
GetFromFile ( SymbolTable symbols, String name ) : String>.Tuple
GetFromNamespace ( SymbolTable symbols, String name ) : String>.Tuple
GetFromResource ( SymbolTable symbols, String name ) : String>.Tuple
Load ( SymbolTable symbols, Object obj, String name ) : Expression

Описание методов

Import() публичный Метод

Loads the file, apply to new SymbolTable and add the symbol named as file name, which refers to it in specified SymbolTable.
public Import ( SymbolTable symbols, String name ) : Expression
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table to add the reference to the applied symbols.
name String Name of loading file. File extension can be omitted.
Результат System.Linq.Expressions.Expression

Import() публичный Метод

Loads the file, apply to new SymbolTable and add the symbol with specified name, which refers to it in specified SymbolTable.
public Import ( SymbolTable symbols, String name, String symbolName ) : Expression
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table to add the reference to the applied symbols.
name String Name of loading file. File extension can be omitted.
symbolName String Name of the symbol which refers to the applied symbols.
Результат System.Linq.Expressions.Expression

Load() публичный Метод

Loads the file and apply to specified SymbolTable.
public Load ( SymbolTable symbols, String name ) : Expression
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table as the applying target.
name String Name of loading file. File extension can be omitted.
Результат System.Linq.Expressions.Expression

Load() публичный Метод

Adds symbols in specified SymbolTable.
public Load ( SymbolTable symbols, SymbolTable sourceSymbols ) : Expression
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table as the adding target.
sourceSymbols XSpect.Yacq.Symbols.SymbolTable The symbol table as the source to add.
Результат System.Linq.Expressions.Expression

ModuleLoader() публичный Метод

Initializes a new instance of the ModuleLoader class.
public ModuleLoader ( ) : System
Результат System