Lines Matching defs:TypeRepr

183 pub enum TypeRepr {  enum
206 impl TypeRepr { impl
375 terminal_loc_type: Option<TypeRepr>, in new()
376 error_type: Option<TypeRepr>, in new()
377 terminal_token_type: TypeRepr, in new()
421 pub fn add_type(&mut self, nt_id: NonterminalString, ty: TypeRepr) { in add_type()
425 pub fn add_term_type(&mut self, term: TerminalString, ty: TypeRepr) { in add_term_type()
429 pub fn terminal_token_type(&self) -> &TypeRepr { in terminal_token_type()
433 pub fn opt_terminal_loc_type(&self) -> Option<&TypeRepr> { in opt_terminal_loc_type()
437 pub fn terminal_loc_type(&self) -> TypeRepr { in terminal_loc_type()
443 pub fn error_type(&self) -> TypeRepr { in error_type()
451 pub fn terminal_type(&self, id: &TerminalString) -> &TypeRepr { in terminal_type()
457 pub fn terminal_types(&self) -> Vec<TypeRepr> { in terminal_types()
461 pub fn lookup_nonterminal_type(&self, id: &NonterminalString) -> Option<&TypeRepr> { in lookup_nonterminal_type()
465 pub fn nonterminal_type(&self, id: &NonterminalString) -> &TypeRepr { in nonterminal_type()
469 pub fn nonterminal_types(&self) -> Vec<TypeRepr> { in nonterminal_types()
473 pub fn parse_error_type(&self) -> &TypeRepr { in parse_error_type()
477 pub fn error_recovery_type(&self) -> &TypeRepr { in error_recovery_type()
483 pub fn triple_type(&self) -> TypeRepr { in triple_type()
489 pub fn spanned_type(&self, ty: TypeRepr) -> TypeRepr { in spanned_type()
513 impl Display for TypeRepr { implementation
565 impl Debug for TypeRepr { implementation
608 pub fn ty<'ty>(&self, t: &'ty Types) -> &'ty TypeRepr { in ty()
708 pub fn pattern(&self, t: &TerminalString) -> &Pattern<TypeRepr> { in pattern()