Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
jinja2.lexer.Token Class Reference
Inheritance diagram for jinja2.lexer.Token:
Inheritance graph
[legend]
Collaboration diagram for jinja2.lexer.Token:
Collaboration graph
[legend]

Public Member Functions

str __str__ (self)
 
bool test (self, str expr)
 
bool test_any (self, *str iterable)
 

Public Attributes

 type
 

Static Public Attributes

int lineno
 
str type
 
str value
 

Member Function Documentation

◆ test()

bool jinja2.lexer.Token.test (   self,
str  expr 
)
Test a token against a token expression.  This can either be a
token type or ``'token_type:token_value'``.  This can only test
against string values and types.

◆ test_any()

bool jinja2.lexer.Token.test_any (   self,
*str  iterable 
)
Test against multiple token expressions.

The documentation for this class was generated from the following file: