Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Created·2019-04-12 17:47
Flavor·PCRE (Legacy)

/
([+-])\ (~?\w+)
/
gmx
Open regex in editor

Description

Teste básico :

         + Update         () : void

         + KeyPress       (key : int) : bool
         + KeyRelease     (key : int) : bool
         + IsKeyDown      (key : int) : bool

         + MousePress     (button : int) : bool
         + MouseRelease   (button : int) : bool
         + IsMouseDown    (button : int) : bool

         + GetMouseX      () : int
         + GetMouseY      () : int

         + QuitRequested () : bool

         + GetInstance    () : InputManager&

         - InputManager ()
         - ~InputManager ()


         - mouseState : bool[6]
         - mouseUpdate : int[6]

         - keyState : ler abaixo
         - keyUpdate : ler abaixo

         - quitRequested : bool

         - updateCounter : int

         - mouseX : int
         - mouseY : int

Regex para extrair se é público/privado e os nomes dos métods/atributos

Submitted by maffei2443