Lines Matching refs:Compiler
9 // The Compiler class defined in this file is private.
122 class Compiler : public Regexp::Walker<Frag> {
124 explicit Compiler();
125 ~Compiler();
142 // The Compiler traverses the Regexp parse tree, visiting
187 // Rune range compiler.
236 DISALLOW_EVIL_CONSTRUCTORS(Compiler);
239 Compiler::Compiler() {
254 Compiler::~Compiler() {
259 int Compiler::AllocInst(int n) {
281 void Compiler::Trim() {
296 Frag Compiler::NoMatch() {
306 Frag Compiler::Cat(Frag a, Frag b) {
330 Frag Compiler::Alt(Frag a, Frag b) {
353 Frag Compiler::Star(Frag a, bool nongreedy) {
369 Frag Compiler::Plus(Frag a, bool nongreedy) {
376 Frag Compiler::Quest(Frag a, bool nongreedy) {
392 Frag Compiler::ByteRange(int lo, int hi, bool foldcase) {
411 Frag Compiler::Nop() {
420 Frag Compiler::Match(int32 match_id) {
429 Frag Compiler::EmptyWidth(EmptyOp empty) {
448 Frag Compiler::Capture(Frag a, int n) {
470 // The rune range compiler caches common suffix fragments,
478 void Compiler::BeginRange() {
484 int Compiler::UncachedRuneByteSuffix(uint8 lo, uint8 hi, bool foldcase,
495 int Compiler::RuneByteSuffix(uint8 lo, uint8 hi, bool foldcase, int next) {
514 void Compiler::AddSuffix(int id) {
529 Frag Compiler::EndRange() {
539 void Compiler::AddRuneRange(Rune lo, Rune hi, bool foldcase) {
551 void Compiler::AddRuneRangeLatin1(Rune lo, Rune hi, bool foldcase) {
591 void Compiler::Add_80_10ffff() {
604 void Compiler::AddRuneRangeUTF8(Rune lo, Rune hi, bool foldcase) {
667 Frag Compiler::Copy(Frag arg) {
669 LOG(DFATAL) << "Compiler::Copy called!";
676 Frag Compiler::ShortVisit(Regexp* re, Frag) {
682 Frag Compiler::PreVisit(Regexp* re, Frag, bool* stop) {
690 Frag Compiler::Literal(Rune r, bool foldcase) {
713 Frag Compiler::PostVisit(Regexp* re, Frag, Frag, Frag* child_frags,
850 LOG(DFATAL) << "Missing case in Compiler: " << re->op();
951 void Compiler::Setup(Regexp::ParseFlags flags, int64 max_mem,
991 Prog* Compiler::Compile(Regexp* re, bool reversed, int64 max_mem) {
992 Compiler c;
1043 Prog* Compiler::Finish() {
1080 return Compiler::Compile(this, false, max_mem);
1084 return Compiler::Compile(this, true, max_mem);
1087 Frag Compiler::DotStar() {
1092 Prog* Compiler::CompileSet(const RE2::Options& options, RE2::Anchor anchor,
1094 Compiler c;
1136 return Compiler::CompileSet(options, anchor, re);