Regular Expressions 101

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
([+-])\ (~?\w+)
/
gmx

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 - 6 years ago