IdentPositionIterator

Undocumented in source.
version(USE_LIBDPARSE)
static
class IdentPositionIterator : ASTVisitor {}

Members

Functions

run
IdentDefinitionLookupResult run(DParsedModule mod, Module ast, const(Token)* tokenToFind, const(Token)* tokenToFindReferences)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(WithStatement withStatement)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(WhileStatement whileStatement)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(VersionSpecification versionSpecification)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(VersionCondition versionCondition)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(Vector vector)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(VariableDeclaration variableDeclaration)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(Unittest unittest_)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(UnionDeclaration unionDeclaration)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(UnaryExpression unaryExpression)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(TypeofExpression typeofExpression)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(TypeidExpression typeidExpression)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(TypeSuffix typeSuffix)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(TypeSpecialization typeSpecialization)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(Type2 type2)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(Type type)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(TryStatement tryStatement)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(TraitsExpression traitsExpression)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ThrowStatement throwStatement)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(TernaryExpression ternaryExpression)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(TemplateValueParameterDefault templateValueParameterDefault)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(TemplateValueParameter templateValueParameter)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(TemplateTypeParameter templateTypeParameter)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(TemplateTupleParameter templateTupleParameter)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(TemplateThisParameter templateThisParameter)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(TemplateSingleArgument templateSingleArgument)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(TemplateParameters templateParameters)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(TemplateParameterList templateParameterList)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(TemplateParameter templateParameter)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(TemplateMixinExpression templateMixinExpression)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(TemplateInstance templateInstance)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(TemplateDeclaration templateDeclaration)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(TemplateArguments templateArguments)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(TemplateArgumentList templateArgumentList)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(TemplateArgument templateArgument)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(TemplateAliasParameter templateAliasParameter)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(SynchronizedStatement synchronizedStatement)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(Symbol symbol)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(SwitchStatement switchStatement)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(StructMemberInitializers structMemberInitializers)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(StructMemberInitializer structMemberInitializer)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(StructInitializer structInitializer)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(StructDeclaration structDeclaration)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(StructBody structBody)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(StorageClass storageClass)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(StaticIfCondition staticIfCondition)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(StaticDestructor staticDestructor)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(StaticConstructor staticConstructor)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(StaticAssertStatement staticAssertStatement)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(StaticAssertDeclaration staticAssertDeclaration)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(StatementNoCaseNoDefault statementNoCaseNoDefault)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(Statement statement)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(SliceExpression sliceExpression)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(SingleImport singleImport)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ShiftExpression shiftExpression)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(SharedStaticDestructor sharedStaticDestructor)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(SharedStaticConstructor sharedStaticConstructor)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ScopeGuardStatement scopeGuardStatement)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ReturnStatement returnStatement)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(RelExpression relExpression)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(Register register)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(PrimaryExpression primaryExpression)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(PragmaExpression pragmaExpression)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(PragmaDeclaration pragmaDeclaration)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(PowExpression powExpression)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(Postblit postblit)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(Parameters parameters)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(Parameter parameter)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(OutStatement outStatement)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(OrOrExpression orOrExpression)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(OrExpression orExpression)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(Operands operands)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(NonVoidInitializer nonVoidInitializer)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(NewExpression newExpression)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(NewAnonClassExpression newAnonClassExpression)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(MulExpression mulExpression)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ModuleDeclaration moduleDeclaration)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(Module module_)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(MixinTemplateName mixinTemplateName)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(MixinTemplateDeclaration mixinTemplateDeclaration)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(MixinExpression mixinExpression)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(MixinDeclaration mixinDeclaration)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(MemberFunctionAttribute memberFunctionAttribute)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(LinkageAttribute linkageAttribute)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(LastCatch lastCatch)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(LambdaExpression lambdaExpression)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(LabeledStatement labeledStatement)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(KeyValuePairs keyValuePairs)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(KeyValuePair keyValuePair)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(IsExpression isExpression)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(Invariant invariant_)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(InterfaceDeclaration interfaceDeclaration)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(Initializer initializer)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(Initialize initialize)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(InStatement inStatement)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(InExpression inExpression)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(IndexExpression indexExpression)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ImportExpression importExpression)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ImportDeclaration importDeclaration)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ImportBindings importBindings)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ImportBind importBind)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(IfStatement ifStatement)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(IdentityExpression identityExpression)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(IdentifierOrTemplateInstance identifierOrTemplateInstance)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(IdentifierOrTemplateChain identifierOrTemplateChain)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(IdentifierList identifierList)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(IdentifierChain identifierChain)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(GotoStatement gotoStatement)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(FunctionLiteralExpression functionLiteralExpression)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(FunctionDeclaration functionDeclaration)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(FunctionCallExpression functionCallExpression)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(FunctionBody functionBody)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(FunctionAttribute functionAttribute)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ForeachTypeList foreachTypeList)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ForeachType foreachType)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ForeachStatement foreachStatement)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ForStatement forStatement)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(Finally finally_)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(FinalSwitchStatement finalSwitchStatement)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ExpressionStatement expressionStatement)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(Expression expression)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(EqualExpression equalExpression)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(EponymousTemplateDeclaration eponymousTemplateDeclaration)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(EnumMember enumMember)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(EnumDeclaration enumDeclaration)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(EnumBody enumBody)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(DoStatement doStatement)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(Destructor destructor)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(Deprecated deprecated_)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(DeleteStatement deleteStatement)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(DeleteExpression deleteExpression)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(DefaultStatement defaultStatement)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(Declarator declarator)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(DeclarationsAndStatements declarationsAndStatements)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(DeclarationOrStatement declarationsOrStatement)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(Declaration declaration)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(DebugSpecification debugSpecification)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(DebugCondition debugCondition)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ContinueStatement continueStatement)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(Constructor constructor)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(Constraint constraint)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ConditionalStatement conditionalStatement)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ConditionalDeclaration conditionalDeclaration)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(CompileCondition compileCondition)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(CmpExpression cmpExpression)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ClassDeclaration classDeclaration)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(Catches catches)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(Catch catch_)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(CastQualifier castQualifier)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(CastExpression castExpression)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(CaseStatement caseStatement)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(CaseRangeStatement caseRangeStatement)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(BaseClassList baseClassList)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(BaseClass baseClass)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(BreakStatement breakStatement)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(BodyStatement bodyStatement)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(BlockStatement blockStatement)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AutoDeclaration autoDeclaration)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AttributeDeclaration attributeDeclaration)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(Attribute attribute)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AtAttribute atAttribute)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AssocArrayLiteral assocArrayLiteral)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AssignExpression assignExpression)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AssertExpression assertExpression)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AsmXorExp asmXorExp)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AsmUnaExp asmUnaExp)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AsmTypePrefix asmTypePrefix)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AsmStatement asmStatement)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AsmShiftExp asmShiftExp)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AsmRelExp asmRelExp)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AsmPrimaryExp asmPrimaryExp)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AsmOrExp asmOrExp)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AsmMulExp asmMulExp)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AsmLogOrExp asmLogOrExp)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AsmLogAndExp asmLogAndExp)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AsmInstruction asmInstruction)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AsmExp asmExp)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AsmEqualExp asmEqualExp)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AsmBrExp asmBrExp)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AsmAndExp asmAndExp)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AsmAddExp asmAddExp)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ArrayMemberInitialization arrayMemberInitialization)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ArrayLiteral arrayLiteral)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ArrayInitializer arrayInitializer)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(Arguments arguments)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ArgumentList argumentList)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AnonymousEnumMember anonymousEnumMember)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AnonymousEnumDeclaration anonymousEnumDeclaration)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AndExpression andExpression)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AndAndExpression andAndExpression)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AlignAttribute alignAttribute)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AliasThisDeclaration aliasThisDeclaration)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AliasInitializer aliasInitializer)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AliasDeclaration aliasDeclaration)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AddExpression addExpression)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ExpressionNode n)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(Token t)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(XorExpression xorExpression)
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

def
string def(string param)
Undocumented in source. Be warned that the author may not have intended to support it.
defblock
string defblock(string param)

for objects which can affect scope - save imports list, and restore after visiting

deftoken
string deftoken(string param, string tokenField)

for objects which contain token not covered by visit()

Meta