Lines Matching refs:parse
4 use crate::parse::{Parse, Parser};
161 /// return lit_str.parse().map(Some);
172 pub fn parse<T: Parse>(&self) -> Result<T> {
173 self.parse_with(T::parse)
369 Some(parse) => parse,
373 let mut token: Literal = repr.parse().unwrap();
390 /// This is equivalent to `lit.base10_digits().parse()` except that the
396 /// use syn::parse::{Parse, ParseStream, Result};
403 /// fn parse(input: ParseStream) -> Result<Self> {
404 /// let lit: LitInt = input.parse()?;
416 .parse()
463 Some(parse) => parse,
467 let mut token: Literal = repr.parse().unwrap();
488 .parse()
812 use crate::parse::{Parse, ParseStream, Result};
817 fn parse(input: ParseStream) -> Result<Self> {
857 let mut token: Literal = repr.parse().unwrap();
872 let mut token: Literal = repr.parse().unwrap();
888 fn parse(input: ParseStream) -> Result<Self> {
890 match input.parse() {
899 fn parse(input: ParseStream) -> Result<Self> {
901 match input.parse() {
910 fn parse(input: ParseStream) -> Result<Self> {
912 match input.parse() {
921 fn parse(input: ParseStream) -> Result<Self> {
923 match input.parse() {
932 fn parse(input: ParseStream) -> Result<Self> {
934 match input.parse() {
943 fn parse(input: ParseStream) -> Result<Self> {
945 match input.parse() {
954 fn parse(input: ParseStream) -> Result<Self> {
956 match input.parse() {