Starting a new branch
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- Mezza giornata
- Idoneità per principianti
- 73/100
Direzione di ricerca
Start by reading the existing StartBranch(string token, IState<T> state) overload and the StringTransition API it should accept. Then add the overload that takes a transition, mirroring how existing branch-starting code threads state through. Add tests covering a transition with a pattern such as test|Test|TEST, and update the documentation that mentions StartBranch. Done means the new overload is usable as shown, with tests and docs updated.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What we can do now
To start a branch, we use the method StartBranch(string token, IState<T> state)
The problem
If we want to start a branch from different tokens, we need to use this method again and again for similar tokens
For example
parser.StartBranch("test", state);
parser.StartBranch("Test", state);
parser.StartBranch("TEST", state);
The solution
Surcharche the method to also accept a transition. Since StringTransition can handle a regular expression, the above example can become
parser.StartBranch(new StringTransition(state).AddPattern("test|Test|TEST"))
Like always, don't forget to add tests and documentation
- Lingua principale
- C#
- Stelle
- 0
- Fork
- 0
- Merge medio
- 3g 4h
- PR unite (30g)
- 5
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Natvs/Nt.SyntaxParser
-
New light syntaxApertagood first issue usability
Difficoltà 3/5 1-2 giorni Idoneità per principianti 48/100
Natvs/Nt.SyntaxParser#45 ·
-
documentation
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
Natvs/Nt.SyntaxParser#35 ·
-
About the IMPORT instructionApertabug invalid
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
Natvs/Nt.SyntaxParser#29 ·
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
Natvs/Nt.SyntaxParser#28 ·
-
Comments in grammar filesApertaenhancement good first issue
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
Natvs/Nt.SyntaxParser#15 ·
Tutte le issue di Natvs/Nt.SyntaxParser
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
Natvs/Nt.Automaton#33 ·
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
a-corriger documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
christian-raj/S-Aloha#312 ·
-
ready-for-agent tech-debt
Difficoltà 1/5 1-3 ore Idoneità per principianti 85/100
DigiBanks99/menlo#640 ·
I maintainer di solito rispondono entro 1 giorno
-
ci
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 62/100
OpenTabletDriver/OpenTabletDriver#5283 ·
I maintainer di solito rispondono entro 3 giorni