Adam

Results 42 issues of Adam

When something is deleted from the index, each index object should know how to handle itself being deleted. Like for a ClassIndex, it should know to remove itself from the...

indexer

ArrayCollection is a fantastic array wrapper that will make it a bit easier to manipulate lists of related index objects (i.e., traits imported by a class, interfaces implemented, calls to...

indexer

Should return an array of TraitIndex imported by the class/trait (see #206).

indexer

...to index TraitNode.

indexer

It would be amazing to be able to do something like this: ``` php // typeof $reflectionParameter is \ReflectionParameter $node = ParameterNode::fromReflector($reflectionParameter) ```

enhancement

isClass() doesn't know how to look for a fully-qualified class name, because it calls $class->getName()->getText(). It should also check $class->getName()->getAbsolutePath(), with and without an ltrim() to remove the leading backslash.

enhancement

I'm in need of a few methods for manipulating the keys of an ArrayLookupNode: - popKey() should pop the last key off the array lookup and return it. - pushKey()...

@EclipseGc discovered that DocCommentNode is trimming leading and trailing whitespace from every line in the doc comment, which can sometimes have undesirable results: ``` /** * @var string species *...

Let's add a method to ClassNode and TraitNode which will allow the node to import a trait. useTrait() should accept a string (name of the trait), a TraitNode, or a...

enhancement

ArrayLookupNode has getRootArray(), but there is nothing similar for ObjectPropertyNode. This should be rectified. I also think that both methods should be renamed to getLookupRoot() for consistency. Self-assigning.

enhancement
high priority