vczyh

Results 15 comments of vczyh

支持,开源项目也是有生命周期的。

> Why do you want to access this? I am trying to understand the code, the repo implements autocompletion. https://github.com/mike-lischke/antlr4-c3/blob/44e0b76074b6ca7f0a080cbf12c2e8961b1ff127/src/CodeCompletionCore.ts#L203

```go type Transition interface { getTarget() ATNState setTarget(ATNState) getIsEpsilon() bool getLabel() *IntervalSet getSerializationType() int Matches(int, int, int) bool } ``` only `Matches(int, int, int) ` accessed.

> Some of this is left over from the code I took over and probably could still do with some clean up. But I don't see why Matches has been...

```java public abstract int getSerializationType(); /** * Determines if the transition is an "epsilon" transition. * * The default implementation returns {@code false}. * * @return {@code true} if traversing...

> > > Some of this is left over from the code I took over and probably could still do with some clean up. But I don't see why Matches...

> > > > > Some of this is left over from the code I took over and probably could still do with some clean up. But I don't see...

> Could you post a minimal example that reproduces it? it should be possible, ex i use readline for [fq](https://github.com/wader/fq) and this works: > > ```shell > $ fq -i...

> Yeap ends up being used here https://github.com/wader/fq/blob/f150085735e8c20b86fa68210ed4162a3b6177b3/pkg/cli/cli.go#L200-L212 > > What do you use now? something like `PrefixCompleter`? that one seems to append whitespaces in some cases. Is there some...