- 3.0.1 core module.
|
Public Member Functions | |
def | __init__ (self, start=None, end=None, value=None, token_type=None) |
def | __str__ (self) |
def | Clone (self) |
Public Attributes | |
start | |
end | |
value | |
token_type | |
Represents a token in a Pump source file.
def pump.Token.__init__ | ( | self, | |
start = None , |
|||
end = None , |
|||
value = None , |
|||
token_type = None |
|||
) |
def pump.Token.__str__ | ( | self | ) |
References cpp.tokenize.Token.start, cpp.ast.Node.start, pump.Token.start, cpp.tokenize.Token.token_type, pump.Token.token_type, CheckValue< T >.value, testing::internal::KindOf< T >.value, pump.Token.value, testing::gmock_matchers_test::convertible_from_any::ConvertibleFromAny.value, testing::gmock_matchers_test::IntReferenceWrapper.value, testing::internal::SetArgumentPointeeAction< N, A, typename >.value, testing::internal::ConstCharPtr.value, testing::internal::StaticAssertTypeEqHelper< T, T >.value, testing::internal::IsSame< T, U >.value, testing::internal::IsSame< T, T >.value, testing::internal::IsHashTable< T >.value, testing::gmock_generated_actions_test::GiantTemplate< T1, T2, T3, k4, k5, k6, T7, T8, T9 >.value, testing::internal::FlatTupleElemBase< FlatTuple< T... >, I >.value, testing::internal::bool_constant< bool_value >.value, and Unprintable.value.
def pump.Token.Clone | ( | self | ) |
Returns a copy of self.
References cpp.tokenize.Token.token_type, pump.Token.token_type, CheckValue< T >.value, testing::internal::KindOf< T >.value, pump.Token.value, testing::gmock_matchers_test::convertible_from_any::ConvertibleFromAny.value, testing::gmock_matchers_test::IntReferenceWrapper.value, testing::internal::SetArgumentPointeeAction< N, A, typename >.value, testing::internal::ConstCharPtr.value, testing::internal::StaticAssertTypeEqHelper< T, T >.value, testing::internal::IsSame< T, U >.value, testing::internal::IsSame< T, T >.value, testing::internal::IsHashTable< T >.value, testing::gmock_generated_actions_test::GiantTemplate< T1, T2, T3, k4, k5, k6, T7, T8, T9 >.value, testing::internal::FlatTupleElemBase< FlatTuple< T... >, I >.value, testing::internal::bool_constant< bool_value >.value, and Unprintable.value.
pump.Token.start |
Referenced by pump.Token.__str__().
pump.Token.end |
pump.Token.value |
Referenced by pump.Token.__str__(), and pump.Token.Clone().
pump.Token.token_type |
Referenced by pump.Token.__str__(), and pump.Token.Clone().