invalid_token
invalid_token
¶
Wrapper for G74 token.
InvalidToken
¶
Bases: Token
Invalid syntax.
This is not a valid Gerber X3/X2 expression.
Source code in src\pygerber\gerberx3\tokenizer\tokens\invalid_token.py
new
classmethod
¶
Create instance of this class.
Created to be used as callback in ParserElement.set_parse_action()
.
Source code in src\pygerber\gerberx3\tokenizer\tokens\invalid_token.py
get_token_diagnostics
¶
Get diagnostics for this token.
Source code in src\pygerber\gerberx3\tokenizer\tokens\invalid_token.py
parser2_visit_token
¶
Perform actions on the context implicated by this token.
Source code in src\pygerber\gerberx3\tokenizer\tokens\invalid_token.py
get_gerber_code
¶
Get gerber code represented by this token.