![]() |
Belle II Software development
|
Public Member Functions | |
ARGUMENTTUPLE (self, t) | |
Public Attributes | |
index = self.index+pos | |
Increment current scanning position. | |
Static Public Attributes | |
dict | tokens = {ARGUMENTTUPLE, } |
Single token for matching metavariable parameters. | |
Lexer class responsible for changing the default scanning behavior. It disables token scanning and captures everything within the matched parenthesis. Call pop_state to return to the default scanning state.
Definition at line 40 of file b2parser.py.
ARGUMENTTUPLE | ( | self, | |
t ) |
Capture metavariable parameters by finding the matched parenthesis. Args: t (sly.lex.token): token of type LPAREN Returns: t (sly.lex.token): ARGUMENTTUPLE token
Definition at line 51 of file b2parser.py.
index = self.index+pos |
Increment current scanning position.
Definition at line 66 of file b2parser.py.
|
static |
Single token for matching metavariable parameters.
Definition at line 48 of file b2parser.py.