dsymbol.conversion

This file is part of DCD, a development tool for the D programming language. Copyright (C) 2014 Brian Schott

Discussion

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see .

  • Declaration

    ScopeSymbolPair generateAutocompleteTrees(const(Token)[] tokens, IAllocator symbolAllocator, RollbackAllocator* parseAllocator, size_t cursorPosition, ref ModuleCache cache);

    Used by autocompletion.

  • Declaration

    Module parseModuleSimple(const(Token)[] tokens, string fileName, RollbackAllocator* parseAllocator);

    Used by import symbol caching.

    Parameters

    const(Token)[] tokens

    the tokens that compose the file

    string fileName

    the name of the file being parsed

    RollbackAllocator* parseAllocator

    the allocator to use for the AST

    Return Value

    the parsed module