proxygen
pump.Token Class Reference

Public Member Functions

def __init__ (self, start=None, end=None, value=None, token_type=None)
 
def __str__ (self)
 
def Clone (self)
 
def __init__ (self, start=None, end=None, value=None, token_type=None)
 
def __str__ (self)
 
def Clone (self)
 
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
 

Detailed Description

Represents a token in a Pump source file.

Definition at line 137 of file pump.py.

Constructor & Destructor Documentation

def pump.Token.__init__ (   self,
  start = None,
  end = None,
  value = None,
  token_type = None 
)

Definition at line 140 of file pump.py.

Referenced by pump.Token.__init__().

140  def __init__(self, start=None, end=None, value=None, token_type=None):
141  if start is None:
142  self.start = Eof()
143  else:
144  self.start = start
145  if end is None:
146  self.end = Eof()
147  else:
148  self.end = end
149  self.value = value
150  self.token_type = token_type
151 
token_type
Definition: pump.py:150
def __init__(self, start=None, end=None, value=None, token_type=None)
Definition: pump.py:140
def Eof()
Definition: pump.py:132
def pump.Token.__init__ (   self,
  start = None,
  end = None,
  value = None,
  token_type = None 
)

Definition at line 140 of file pump.py.

References pump.Token.__init__(), cpp.tokenize.Token.end, cpp.ast.Node.end, pump.Token.end, pump.Eof(), cpp.tokenize.Token.start, cpp.ast.Node.start, pump.Token.start, cpp.tokenize.Token.token_type, pump.Token.token_type, testing::internal::KindOf< T >.value, testing::internal::KindOf< bool >.value, testing::internal::KindOf< char >.value, testing::internal::KindOf< signed char >.value, testing::internal::KindOf< unsigned char >.value, testing::internal::KindOf< short >.value, testing::internal::KindOf< unsigned short >.value, testing::internal::KindOf< int >.value, testing::internal::KindOf< unsigned int >.value, testing::internal::KindOf< long >.value, pump.Token.value, testing::internal::KindOf< unsigned long >.value, testing::internal::KindOf< wchar_t >.value, testing::internal::KindOf< Int64 >.value, testing::internal::KindOf< UInt64 >.value, testing::internal::KindOf< float >.value, testing::internal::KindOf< double >.value, testing::internal::KindOf< long double >.value, testing::gmock_matchers_test::ConvertibleFromAny.value, testing::gmock_matchers_test::IntReferenceWrapper.value, std::tr1::tuple_size< tuple<> >.value, testing::internal::ConstCharPtr.value, std::tr1::tuple_size< tuple< T0, void, void, void, void, void, void, void, void, void > >.value, std::tr1::tuple_size< tuple< T0, T1, void, void, void, void, void, void, void, void > >.value, std::tr1::tuple_size< tuple< T0, T1, T2, void, void, void, void, void, void, void > >.value, std::tr1::tuple_size< tuple< T0, T1, T2, T3, void, void, void, void, void, void > >.value, std::tr1::tuple_size< tuple< T0, T1, T2, T3, T4, void, void, void, void, void > >.value, std::tr1::tuple_size< tuple< T0, T1, T2, T3, T4, T5, void, void, void, void > >.value, std::tr1::tuple_size< tuple< T0, T1, T2, T3, T4, T5, T6, void, void, void > >.value, std::tr1::tuple_size< tuple< T0, T1, T2, T3, T4, T5, T6, T7, void, void > >.value, std::tr1::tuple_size< tuple< T0, T1, T2, T3, T4, T5, T6, T7, T8, void > >.value, std::tr1::tuple_size< tuple< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9 > >.value, testing::internal::ImplicitlyConvertible< From, To >.value, testing::internal::StaticAssertTypeEqHelper< T, T >.value, testing::gmock_generated_actions_test::GiantTemplate< T1, T2, T3, k4, k5, k6, T7, T8, T9 >.value, Unprintable.value, and testing::internal::bool_constant< bool_value >.value.

140  def __init__(self, start=None, end=None, value=None, token_type=None):
141  if start is None:
142  self.start = Eof()
143  else:
144  self.start = start
145  if end is None:
146  self.end = Eof()
147  else:
148  self.end = end
149  self.value = value
150  self.token_type = token_type
151 
token_type
Definition: pump.py:150
def __init__(self, start=None, end=None, value=None, token_type=None)
Definition: pump.py:140
def Eof()
Definition: pump.py:132
def pump.Token.__init__ (   self,
  start = None,
  end = None,
  value = None,
  token_type = None 
)

Definition at line 140 of file pump.py.

References pump.Token.__init__(), cpp.tokenize.Token.end, cpp.ast.Node.end, pump.Token.end, pump.Eof(), cpp.tokenize.Token.start, cpp.ast.Node.start, pump.Token.start, cpp.tokenize.Token.token_type, pump.Token.token_type, testing::internal::KindOf< T >.value, testing::internal::KindOf< bool >.value, testing::internal::KindOf< char >.value, testing::internal::KindOf< signed char >.value, testing::internal::KindOf< unsigned char >.value, testing::internal::KindOf< short >.value, testing::internal::KindOf< unsigned short >.value, testing::internal::KindOf< int >.value, testing::internal::KindOf< unsigned int >.value, testing::internal::KindOf< long >.value, pump.Token.value, testing::internal::KindOf< unsigned long >.value, testing::internal::KindOf< wchar_t >.value, testing::internal::KindOf< Int64 >.value, testing::internal::KindOf< UInt64 >.value, testing::internal::KindOf< float >.value, testing::internal::KindOf< double >.value, testing::internal::KindOf< long double >.value, testing::gmock_matchers_test::ConvertibleFromAny.value, testing::gmock_matchers_test::IntReferenceWrapper.value, std::tr1::tuple_size< tuple<> >.value, testing::internal::ConstCharPtr.value, std::tr1::tuple_size< tuple< T0, void, void, void, void, void, void, void, void, void > >.value, std::tr1::tuple_size< tuple< T0, T1, void, void, void, void, void, void, void, void > >.value, std::tr1::tuple_size< tuple< T0, T1, T2, void, void, void, void, void, void, void > >.value, std::tr1::tuple_size< tuple< T0, T1, T2, T3, void, void, void, void, void, void > >.value, std::tr1::tuple_size< tuple< T0, T1, T2, T3, T4, void, void, void, void, void > >.value, std::tr1::tuple_size< tuple< T0, T1, T2, T3, T4, T5, void, void, void, void > >.value, std::tr1::tuple_size< tuple< T0, T1, T2, T3, T4, T5, T6, void, void, void > >.value, std::tr1::tuple_size< tuple< T0, T1, T2, T3, T4, T5, T6, T7, void, void > >.value, std::tr1::tuple_size< tuple< T0, T1, T2, T3, T4, T5, T6, T7, T8, void > >.value, std::tr1::tuple_size< tuple< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9 > >.value, testing::internal::ImplicitlyConvertible< From, To >.value, testing::internal::StaticAssertTypeEqHelper< T, T >.value, testing::gmock_generated_actions_test::GiantTemplate< T1, T2, T3, k4, k5, k6, T7, T8, T9 >.value, Unprintable.value, and testing::internal::bool_constant< bool_value >.value.

140  def __init__(self, start=None, end=None, value=None, token_type=None):
141  if start is None:
142  self.start = Eof()
143  else:
144  self.start = start
145  if end is None:
146  self.end = Eof()
147  else:
148  self.end = end
149  self.value = value
150  self.token_type = token_type
151 
token_type
Definition: pump.py:150
def __init__(self, start=None, end=None, value=None, token_type=None)
Definition: pump.py:140
def Eof()
Definition: pump.py:132

Member Function Documentation

def pump.Token.__str__ (   self)

Definition at line 152 of file pump.py.

References cpp.tokenize.Token.start, cpp.ast.Node.start, pump.Token.start, cpp.tokenize.Token.token_type, pump.Token.token_type, testing::internal::KindOf< T >.value, testing::internal::KindOf< bool >.value, testing::internal::KindOf< char >.value, testing::internal::KindOf< signed char >.value, testing::internal::KindOf< unsigned char >.value, testing::internal::KindOf< short >.value, testing::internal::KindOf< unsigned short >.value, testing::internal::KindOf< int >.value, testing::internal::KindOf< unsigned int >.value, pump.Token.value, testing::internal::KindOf< long >.value, testing::internal::KindOf< unsigned long >.value, testing::internal::KindOf< wchar_t >.value, testing::internal::KindOf< Int64 >.value, testing::internal::KindOf< UInt64 >.value, testing::internal::KindOf< float >.value, testing::internal::KindOf< double >.value, testing::internal::KindOf< long double >.value, testing::gmock_matchers_test::ConvertibleFromAny.value, testing::gmock_matchers_test::IntReferenceWrapper.value, std::tr1::tuple_size< tuple<> >.value, testing::internal::ConstCharPtr.value, std::tr1::tuple_size< tuple< T0, void, void, void, void, void, void, void, void, void > >.value, std::tr1::tuple_size< tuple< T0, T1, void, void, void, void, void, void, void, void > >.value, std::tr1::tuple_size< tuple< T0, T1, T2, void, void, void, void, void, void, void > >.value, std::tr1::tuple_size< tuple< T0, T1, T2, T3, void, void, void, void, void, void > >.value, std::tr1::tuple_size< tuple< T0, T1, T2, T3, T4, void, void, void, void, void > >.value, std::tr1::tuple_size< tuple< T0, T1, T2, T3, T4, T5, void, void, void, void > >.value, std::tr1::tuple_size< tuple< T0, T1, T2, T3, T4, T5, T6, void, void, void > >.value, std::tr1::tuple_size< tuple< T0, T1, T2, T3, T4, T5, T6, T7, void, void > >.value, std::tr1::tuple_size< tuple< T0, T1, T2, T3, T4, T5, T6, T7, T8, void > >.value, std::tr1::tuple_size< tuple< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9 > >.value, testing::internal::ImplicitlyConvertible< From, To >.value, testing::internal::StaticAssertTypeEqHelper< T, T >.value, testing::gmock_generated_actions_test::GiantTemplate< T1, T2, T3, k4, k5, k6, T7, T8, T9 >.value, Unprintable.value, and testing::internal::bool_constant< bool_value >.value.

Referenced by pump.Token.__str__().

152  def __str__(self):
153  return 'Token @%s: \'%s\' type=%s' % (
154  self.start, self.value, self.token_type)
155 
token_type
Definition: pump.py:150
def __str__(self)
Definition: pump.py:152
def pump.Token.__str__ (   self)

Definition at line 152 of file pump.py.

References pump.Token.__str__(), cpp.tokenize.Token.start, cpp.ast.Node.start, pump.Token.start, cpp.tokenize.Token.token_type, pump.Token.token_type, testing::internal::KindOf< T >.value, testing::internal::KindOf< bool >.value, testing::internal::KindOf< char >.value, testing::internal::KindOf< signed char >.value, testing::internal::KindOf< unsigned char >.value, testing::internal::KindOf< short >.value, testing::internal::KindOf< unsigned short >.value, testing::internal::KindOf< int >.value, testing::internal::KindOf< unsigned int >.value, pump.Token.value, testing::internal::KindOf< long >.value, testing::internal::KindOf< unsigned long >.value, testing::internal::KindOf< wchar_t >.value, testing::internal::KindOf< Int64 >.value, testing::internal::KindOf< UInt64 >.value, testing::internal::KindOf< float >.value, testing::internal::KindOf< double >.value, testing::internal::KindOf< long double >.value, testing::gmock_matchers_test::ConvertibleFromAny.value, testing::gmock_matchers_test::IntReferenceWrapper.value, std::tr1::tuple_size< tuple<> >.value, testing::internal::ConstCharPtr.value, std::tr1::tuple_size< tuple< T0, void, void, void, void, void, void, void, void, void > >.value, std::tr1::tuple_size< tuple< T0, T1, void, void, void, void, void, void, void, void > >.value, std::tr1::tuple_size< tuple< T0, T1, T2, void, void, void, void, void, void, void > >.value, std::tr1::tuple_size< tuple< T0, T1, T2, T3, void, void, void, void, void, void > >.value, std::tr1::tuple_size< tuple< T0, T1, T2, T3, T4, void, void, void, void, void > >.value, std::tr1::tuple_size< tuple< T0, T1, T2, T3, T4, T5, void, void, void, void > >.value, std::tr1::tuple_size< tuple< T0, T1, T2, T3, T4, T5, T6, void, void, void > >.value, std::tr1::tuple_size< tuple< T0, T1, T2, T3, T4, T5, T6, T7, void, void > >.value, std::tr1::tuple_size< tuple< T0, T1, T2, T3, T4, T5, T6, T7, T8, void > >.value, std::tr1::tuple_size< tuple< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9 > >.value, testing::internal::ImplicitlyConvertible< From, To >.value, testing::internal::StaticAssertTypeEqHelper< T, T >.value, testing::gmock_generated_actions_test::GiantTemplate< T1, T2, T3, k4, k5, k6, T7, T8, T9 >.value, Unprintable.value, and testing::internal::bool_constant< bool_value >.value.

152  def __str__(self):
153  return 'Token @%s: \'%s\' type=%s' % (
154  self.start, self.value, self.token_type)
155 
token_type
Definition: pump.py:150
def __str__(self)
Definition: pump.py:152
def pump.Token.__str__ (   self)

Definition at line 152 of file pump.py.

References pump.Token.__str__(), cpp.tokenize.Token.start, cpp.ast.Node.start, pump.Token.start, cpp.tokenize.Token.token_type, pump.Token.token_type, testing::internal::KindOf< T >.value, testing::internal::KindOf< bool >.value, testing::internal::KindOf< char >.value, testing::internal::KindOf< signed char >.value, testing::internal::KindOf< unsigned char >.value, testing::internal::KindOf< short >.value, testing::internal::KindOf< unsigned short >.value, testing::internal::KindOf< int >.value, testing::internal::KindOf< unsigned int >.value, pump.Token.value, testing::internal::KindOf< long >.value, testing::internal::KindOf< unsigned long >.value, testing::internal::KindOf< wchar_t >.value, testing::internal::KindOf< Int64 >.value, testing::internal::KindOf< UInt64 >.value, testing::internal::KindOf< float >.value, testing::internal::KindOf< double >.value, testing::internal::KindOf< long double >.value, testing::gmock_matchers_test::ConvertibleFromAny.value, testing::gmock_matchers_test::IntReferenceWrapper.value, std::tr1::tuple_size< tuple<> >.value, testing::internal::ConstCharPtr.value, std::tr1::tuple_size< tuple< T0, void, void, void, void, void, void, void, void, void > >.value, std::tr1::tuple_size< tuple< T0, T1, void, void, void, void, void, void, void, void > >.value, std::tr1::tuple_size< tuple< T0, T1, T2, void, void, void, void, void, void, void > >.value, std::tr1::tuple_size< tuple< T0, T1, T2, T3, void, void, void, void, void, void > >.value, std::tr1::tuple_size< tuple< T0, T1, T2, T3, T4, void, void, void, void, void > >.value, std::tr1::tuple_size< tuple< T0, T1, T2, T3, T4, T5, void, void, void, void > >.value, std::tr1::tuple_size< tuple< T0, T1, T2, T3, T4, T5, T6, void, void, void > >.value, std::tr1::tuple_size< tuple< T0, T1, T2, T3, T4, T5, T6, T7, void, void > >.value, std::tr1::tuple_size< tuple< T0, T1, T2, T3, T4, T5, T6, T7, T8, void > >.value, std::tr1::tuple_size< tuple< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9 > >.value, testing::internal::ImplicitlyConvertible< From, To >.value, testing::internal::StaticAssertTypeEqHelper< T, T >.value, testing::gmock_generated_actions_test::GiantTemplate< T1, T2, T3, k4, k5, k6, T7, T8, T9 >.value, Unprintable.value, and testing::internal::bool_constant< bool_value >.value.

152  def __str__(self):
153  return 'Token @%s: \'%s\' type=%s' % (
154  self.start, self.value, self.token_type)
155 
token_type
Definition: pump.py:150
def __str__(self)
Definition: pump.py:152
def pump.Token.Clone (   self)
Returns a copy of self.

Definition at line 156 of file pump.py.

References pump.Token.Clone(), pump.Eof(), pump.FindFirst(), pump.FindFirstInLine(), join, pump.MakeToken(), pump.ParseExpTokenInParens(), pump.ParseToken(), pump.RStripNewLineFromToken(), pump.Skip(), pump.SkipUntil(), pump.StartsWith(), pump.StripMetaComments(), pump.SubString(), cpp.tokenize.Token.token_type, pump.Token.token_type, pump.Tokenize(), pump.TokenizeLines(), testing::internal::KindOf< T >.value, testing::internal::KindOf< bool >.value, testing::internal::KindOf< char >.value, testing::internal::KindOf< signed char >.value, testing::internal::KindOf< unsigned char >.value, testing::internal::KindOf< short >.value, testing::internal::KindOf< unsigned short >.value, testing::internal::KindOf< int >.value, testing::internal::KindOf< unsigned int >.value, pump.Token.value, testing::internal::KindOf< long >.value, testing::internal::KindOf< unsigned long >.value, testing::internal::KindOf< wchar_t >.value, testing::internal::KindOf< Int64 >.value, testing::internal::KindOf< UInt64 >.value, testing::internal::KindOf< float >.value, testing::internal::KindOf< double >.value, testing::internal::KindOf< long double >.value, testing::gmock_matchers_test::ConvertibleFromAny.value, testing::gmock_matchers_test::IntReferenceWrapper.value, std::tr1::tuple_size< tuple<> >.value, testing::internal::ConstCharPtr.value, std::tr1::tuple_size< tuple< T0, void, void, void, void, void, void, void, void, void > >.value, std::tr1::tuple_size< tuple< T0, T1, void, void, void, void, void, void, void, void > >.value, std::tr1::tuple_size< tuple< T0, T1, T2, void, void, void, void, void, void, void > >.value, std::tr1::tuple_size< tuple< T0, T1, T2, T3, void, void, void, void, void, void > >.value, std::tr1::tuple_size< tuple< T0, T1, T2, T3, T4, void, void, void, void, void > >.value, std::tr1::tuple_size< tuple< T0, T1, T2, T3, T4, T5, void, void, void, void > >.value, std::tr1::tuple_size< tuple< T0, T1, T2, T3, T4, T5, T6, void, void, void > >.value, std::tr1::tuple_size< tuple< T0, T1, T2, T3, T4, T5, T6, T7, void, void > >.value, std::tr1::tuple_size< tuple< T0, T1, T2, T3, T4, T5, T6, T7, T8, void > >.value, std::tr1::tuple_size< tuple< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9 > >.value, testing::internal::ImplicitlyConvertible< From, To >.value, testing::internal::StaticAssertTypeEqHelper< T, T >.value, testing::gmock_generated_actions_test::GiantTemplate< T1, T2, T3, k4, k5, k6, T7, T8, T9 >.value, Unprintable.value, and testing::internal::bool_constant< bool_value >.value.

156  def Clone(self):
157  """Returns a copy of self."""
158 
159  return Token(self.start.Clone(), self.end.Clone(), self.value,
160  self.token_type)
161 
162 
token_type
Definition: pump.py:150
def Clone(self)
Definition: pump.py:156
def pump.Token.Clone (   self)
Returns a copy of self.

Definition at line 156 of file pump.py.

References cpp.tokenize.Token.token_type, pump.Token.token_type, testing::internal::KindOf< T >.value, testing::internal::KindOf< bool >.value, testing::internal::KindOf< char >.value, testing::internal::KindOf< signed char >.value, testing::internal::KindOf< unsigned char >.value, testing::internal::KindOf< short >.value, testing::internal::KindOf< unsigned short >.value, testing::internal::KindOf< int >.value, testing::internal::KindOf< unsigned int >.value, pump.Token.value, testing::internal::KindOf< long >.value, testing::internal::KindOf< unsigned long >.value, testing::internal::KindOf< wchar_t >.value, testing::internal::KindOf< Int64 >.value, testing::internal::KindOf< UInt64 >.value, testing::internal::KindOf< float >.value, testing::internal::KindOf< double >.value, testing::internal::KindOf< long double >.value, testing::gmock_matchers_test::ConvertibleFromAny.value, testing::gmock_matchers_test::IntReferenceWrapper.value, std::tr1::tuple_size< tuple<> >.value, testing::internal::ConstCharPtr.value, std::tr1::tuple_size< tuple< T0, void, void, void, void, void, void, void, void, void > >.value, std::tr1::tuple_size< tuple< T0, T1, void, void, void, void, void, void, void, void > >.value, std::tr1::tuple_size< tuple< T0, T1, T2, void, void, void, void, void, void, void > >.value, std::tr1::tuple_size< tuple< T0, T1, T2, T3, void, void, void, void, void, void > >.value, std::tr1::tuple_size< tuple< T0, T1, T2, T3, T4, void, void, void, void, void > >.value, std::tr1::tuple_size< tuple< T0, T1, T2, T3, T4, T5, void, void, void, void > >.value, std::tr1::tuple_size< tuple< T0, T1, T2, T3, T4, T5, T6, void, void, void > >.value, std::tr1::tuple_size< tuple< T0, T1, T2, T3, T4, T5, T6, T7, void, void > >.value, std::tr1::tuple_size< tuple< T0, T1, T2, T3, T4, T5, T6, T7, T8, void > >.value, std::tr1::tuple_size< tuple< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9 > >.value, testing::internal::ImplicitlyConvertible< From, To >.value, testing::internal::StaticAssertTypeEqHelper< T, T >.value, testing::gmock_generated_actions_test::GiantTemplate< T1, T2, T3, k4, k5, k6, T7, T8, T9 >.value, Unprintable.value, and testing::internal::bool_constant< bool_value >.value.

Referenced by pump.Token.Clone().

156  def Clone(self):
157  """Returns a copy of self."""
158 
159  return Token(self.start.Clone(), self.end.Clone(), self.value,
160  self.token_type)
161 
162 
token_type
Definition: pump.py:150
def Clone(self)
Definition: pump.py:156
def pump.Token.Clone (   self)
Returns a copy of self.

Definition at line 156 of file pump.py.

References pump.Token.Clone(), pump.Eof(), pump.FindFirst(), pump.FindFirstInLine(), join, pump.MakeToken(), pump.ParseExpTokenInParens(), pump.ParseToken(), pump.RStripNewLineFromToken(), pump.Skip(), pump.SkipUntil(), pump.StartsWith(), pump.StripMetaComments(), pump.SubString(), cpp.tokenize.Token.token_type, pump.Token.token_type, pump.Tokenize(), pump.TokenizeLines(), testing::internal::KindOf< T >.value, testing::internal::KindOf< bool >.value, testing::internal::KindOf< char >.value, testing::internal::KindOf< signed char >.value, testing::internal::KindOf< unsigned char >.value, testing::internal::KindOf< short >.value, testing::internal::KindOf< unsigned short >.value, testing::internal::KindOf< int >.value, testing::internal::KindOf< unsigned int >.value, pump.Token.value, testing::internal::KindOf< long >.value, testing::internal::KindOf< unsigned long >.value, testing::internal::KindOf< wchar_t >.value, testing::internal::KindOf< Int64 >.value, testing::internal::KindOf< UInt64 >.value, testing::internal::KindOf< float >.value, testing::internal::KindOf< double >.value, testing::internal::KindOf< long double >.value, testing::gmock_matchers_test::ConvertibleFromAny.value, testing::gmock_matchers_test::IntReferenceWrapper.value, std::tr1::tuple_size< tuple<> >.value, testing::internal::ConstCharPtr.value, std::tr1::tuple_size< tuple< T0, void, void, void, void, void, void, void, void, void > >.value, std::tr1::tuple_size< tuple< T0, T1, void, void, void, void, void, void, void, void > >.value, std::tr1::tuple_size< tuple< T0, T1, T2, void, void, void, void, void, void, void > >.value, std::tr1::tuple_size< tuple< T0, T1, T2, T3, void, void, void, void, void, void > >.value, std::tr1::tuple_size< tuple< T0, T1, T2, T3, T4, void, void, void, void, void > >.value, std::tr1::tuple_size< tuple< T0, T1, T2, T3, T4, T5, void, void, void, void > >.value, std::tr1::tuple_size< tuple< T0, T1, T2, T3, T4, T5, T6, void, void, void > >.value, std::tr1::tuple_size< tuple< T0, T1, T2, T3, T4, T5, T6, T7, void, void > >.value, std::tr1::tuple_size< tuple< T0, T1, T2, T3, T4, T5, T6, T7, T8, void > >.value, std::tr1::tuple_size< tuple< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9 > >.value, testing::internal::ImplicitlyConvertible< From, To >.value, testing::internal::StaticAssertTypeEqHelper< T, T >.value, testing::gmock_generated_actions_test::GiantTemplate< T1, T2, T3, k4, k5, k6, T7, T8, T9 >.value, Unprintable.value, and testing::internal::bool_constant< bool_value >.value.

156  def Clone(self):
157  """Returns a copy of self."""
158 
159  return Token(self.start.Clone(), self.end.Clone(), self.value,
160  self.token_type)
161 
162 
token_type
Definition: pump.py:150
def Clone(self)
Definition: pump.py:156

Member Data Documentation

pump.Token.end

Definition at line 146 of file pump.py.

Referenced by pump.Token.__init__().

pump.Token.start

Definition at line 142 of file pump.py.

Referenced by pump.Token.__init__(), and pump.Token.__str__().

pump.Token.token_type

Definition at line 150 of file pump.py.

Referenced by pump.Token.__init__(), pump.Token.__str__(), and pump.Token.Clone().

pump.Token.value

Definition at line 149 of file pump.py.

Referenced by pump.Token.__init__(), pump.Token.__str__(), and pump.Token.Clone().


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