Home
last modified time | relevance | path

Searched defs:Lexer (Results 1 – 25 of 81) sorted by relevance

1234

/external/pytorch/torch/csrc/jit/frontend/
Dlexer.h408 struct Lexer { struct
409 explicit Lexer(std::shared_ptr<Source> source) in Lexer() function
422 reportError("Lexer invariant violated: empty token queue"); in next() argument
431 bool nextIf(int kind) { in nextIf()
438 [[noreturn]] void reportError(const std::string& what) { in reportError()
441 [[noreturn]] void reportError(const std::string& what, const Token& t) { in reportError()
447 [[noreturn]] void expected(const std::string& what, const Token& t) { in expected()
454 [[noreturn]] void expected(const std::string& what) { in expected()
459 Token expect(int kind) { in expect()
465 Token& lookahead() { in lookahead()
[all …]
/external/rust/android-crates-io/crates/spdx/src/
Dlexer.rs122 pub struct Lexer<'a> { struct
129 impl<'a> Lexer<'a> { argument
203 impl<'a> Iterator for Lexer<'a> { implementation
/external/rust/android-crates-io/crates/xml-rs/src/reader/
Dlexer.rs217 pub(crate) struct Lexer { struct
235 impl Position for Lexer { implementation
241 impl Lexer { impl
243 pub(crate) fn new(config: &ParserConfig2) -> Lexer { in new()
686 fn make_lex_and_buf(s: &str) -> (Lexer, BufReader<Cursor<Vec<u8>>>) { in make_lex_and_buf()
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
DLexer.cs43 public abstract class Lexer : BaseRecognizer, ITokenSource { class
47 public Lexer() { in Lexer() method in Antlr.Runtime.Lexer
50 public Lexer(ICharStream input) { in Lexer() method in Antlr.Runtime.Lexer
54 public Lexer(ICharStream input, RecognizerSharedState state) in Lexer() method in Antlr.Runtime.Lexer
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/
DLexer.java35 public abstract class Lexer extends BaseRecognizer implements TokenSource { class
39 public Lexer() { in Lexer() method in Lexer
42 public Lexer(CharStream input) { in Lexer() method in Lexer
46 public Lexer(CharStream input, RecognizerSharedState state) { in Lexer() method in Lexer
/external/cronet/stable/third_party/rust/chromium_crates_io/vendor/fend-core-1.5.5/src/
Dlexer.rs773 pub(crate) struct Lexer<'a, 'b, I: Interrupt> { struct
774 input: &'a str,
776 after_backslash_state: u8,
777 after_number_or_to: bool,
778 decimal_separator: DecimalSeparatorStyle,
779 int: &'b I,
833 impl<I: Interrupt> Lexer<'_, '_, I> { implementation
898 impl<I: Interrupt> Iterator for Lexer<'_, '_, I> { implementation
/external/cronet/tot/third_party/rust/chromium_crates_io/vendor/fend-core-1.5.5/src/
Dlexer.rs773 pub(crate) struct Lexer<'a, 'b, I: Interrupt> { struct
774 input: &'a str,
776 after_backslash_state: u8,
777 after_number_or_to: bool,
778 decimal_separator: DecimalSeparatorStyle,
779 int: &'b I,
833 impl<I: Interrupt> Lexer<'_, '_, I> { impl
898 impl<I: Interrupt> Iterator for Lexer<'_, '_, I> { implementation
/external/rust/android-crates-io/crates/grpcio-sys/grpc/tools/run_tests/xds_k8s_test_driver/framework/helpers/
Dhighlighter.py51 Lexer = pygments.lexer.Lexer variable
67 lexer: Lexer,
/external/antlr/runtime/ActionScript/project/src/org/antlr/runtime/
DLexer.as35 public class Lexer extends BaseRecognizer implements TokenSource { class in org.antlr.runtime
39 public function Lexer(input:CharStream = null, state:RecognizerSharedState = null) { method in org.antlr.runtime.Lexer
/external/rust/android-crates-io/crates/protobuf-support/src/lexer/
Dlexer_impl.rs72 pub struct Lexer<'a> { struct
83 impl<'a> Lexer<'a> { impl
/external/rust/android-crates-io/extra_versions/crates/protobuf/src/text_format/lexer/
Dlexer_impl.rs86 pub struct Lexer<'a> { struct
97 impl<'a> Lexer<'a> { implementation
/external/antlr/runtime/Ruby/lib/antlr3/template/
Dgroup-file.rb16 Lexer = GroupFile::Lexer constant in ANTLR3.Template.Group
/external/llvm/examples/OCaml-Kaleidoscope/Chapter6/
Dlexer.ml1 (*===----------------------------------------------------------------------===
/external/llvm/examples/OCaml-Kaleidoscope/Chapter5/
Dlexer.ml1 (*===----------------------------------------------------------------------===
/external/llvm/examples/OCaml-Kaleidoscope/Chapter4/
Dlexer.ml1 (*===----------------------------------------------------------------------===
/external/llvm/examples/OCaml-Kaleidoscope/Chapter2/
Dlexer.ml1 (*===----------------------------------------------------------------------===
/external/turbine/java/com/google/turbine/parse/
DLexer.java22 public interface Lexer { interface
/external/llvm/examples/OCaml-Kaleidoscope/Chapter3/
Dlexer.ml1 (*===----------------------------------------------------------------------===
/external/llvm/examples/OCaml-Kaleidoscope/Chapter7/
Dlexer.ml1 (*===----------------------------------------------------------------------===
/external/angle/src/compiler/preprocessor/
DExpressionParser.h19 class Lexer; variable
/external/apache-xml/src/main/java/org/apache/xpath/compiler/
DLexer.java32 class Lexer class
80 Lexer(Compiler compiler, PrefixResolver resolver, in Lexer() method in Lexer
/external/swiftshader/third_party/llvm-16.0/llvm/lib/MC/MCParser/
DXCOFFAsmParser.cpp20 MCAsmLexer *Lexer = nullptr; member in __anon839032df0111::XCOFFAsmParser
/external/antlr/runtime/Cpp/include/
Dantlr3lexer.hpp70 class Lexer : public ImplTraits::template RecognizerType< typename ImplTraits::InputStreamType >, class
/external/libtextclassifier/native/utils/grammar/parsing/
Dlexer.h103 explicit Lexer(const UniLib* unilib) : unilib_(*unilib) {} in Lexer() function
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Object/
DCOFFModuleDefinition.cpp81 class Lexer { class
83 Lexer(StringRef S) : Buf(S) {} in Lexer() function in llvm::object::Lexer

1234