Пример #1
0
        public ForExpression(int line, int column, IteratorExpression iterator, string listName, BlockExpression block)
        {
            Iterator = iterator;
            ListName = listName;

            Block = block;

            Line   = line;
            Column = column;
        }
Пример #2
0
        public FunctionExpression(int line, int column, string name, List <VarDeclarationNoAssignExpression> parames, List <SailReturnType> returnType, BlockExpression block)
        {
            Name        = name;
            Params      = parames;
            Block       = block;
            ReturnTypes = returnType;

            Block.Owner = this;

            Line   = line;
            Column = column;
        }