v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
parser-base.h File Reference
#include <stdint.h>
#include <optional>
#include <utility>
#include <vector>
#include "src/ast/ast-source-ranges.h"
#include "src/ast/ast.h"
#include "src/ast/scopes.h"
#include "src/base/flags.h"
#include "src/base/hashmap.h"
#include "src/base/pointer-with-payload.h"
#include "src/codegen/bailout-reason.h"
#include "src/common/globals.h"
#include "src/common/message-template.h"
#include "src/logging/log.h"
#include "src/logging/runtime-call-stats-scope.h"
#include "src/objects/function-kind.h"
#include "src/parsing/expression-scope.h"
#include "src/parsing/func-name-inferrer.h"
#include "src/parsing/parse-info.h"
#include "src/parsing/scanner.h"
#include "src/parsing/token.h"
#include "src/regexp/regexp.h"
#include "src/zone/zone-chunk-list.h"
Include dependency graph for parser-base.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  v8::internal::FormalParametersBase
 
class  v8::internal::SourceRangeScope
 
class  v8::internal::ParserBase< Impl >
 
class  v8::internal::ParserBase< Impl >::BlockState
 
class  v8::internal::ParserBase< Impl >::Target
 
class  v8::internal::ParserBase< Impl >::FunctionState
 
class  v8::internal::ParserBase< Impl >::FunctionState::FunctionOrEvalRecordingScope
 
class  v8::internal::ParserBase< Impl >::FunctionState::LoopScope
 
struct  v8::internal::ParserBase< Impl >::DeclarationDescriptor
 
struct  v8::internal::ParserBase< Impl >::DeclarationParsingResult
 
struct  v8::internal::ParserBase< Impl >::DeclarationParsingResult::Declaration
 
struct  v8::internal::ParserBase< Impl >::CatchInfo
 
struct  v8::internal::ParserBase< Impl >::ForInfo
 
struct  v8::internal::ParserBase< Impl >::ClassInfo
 
struct  v8::internal::ParserBase< Impl >::ParsePropertyInfo
 
class  v8::internal::ParserBase< Impl >::AcceptINScope
 
class  v8::internal::ParserBase< Impl >::ParameterParsingScope
 
class  v8::internal::ParserBase< Impl >::FunctionParsingScope
 
struct  v8::internal::ParserBase< Impl >::NextArrowFunctionInfo
 

Namespaces

namespace  v8
 
namespace  v8::internal
 

Macros

#define RETURN_IF_PARSE_ERROR    if (has_error()) return impl()->NullStatement();
 

Typedefs

using v8::internal::ParseFunctionFlags = base::Flags<ParseFunctionFlag>
 

Enumerations

enum  v8::internal::FunctionNameValidity { v8::internal::kFunctionNameIsStrictReserved , v8::internal::kSkipFunctionNameCheck , v8::internal::kFunctionNameValidityUnknown }
 
enum  v8::internal::AllowLabelledFunctionStatement { v8::internal::kAllowLabelledFunctionStatement , v8::internal::kDisallowLabelledFunctionStatement }
 
enum  v8::internal::ParsingArrowHeadFlag { v8::internal::kCertainlyNotArrowHead , v8::internal::kMaybeArrowHead }
 
enum class  v8::internal::ParseFunctionFlag : uint8_t { v8::internal::kIsNormal = 0 , v8::internal::kIsGenerator = 1 << 0 , v8::internal::kIsAsync = 1 << 1 }
 
enum class  v8::internal::ParsePropertyKind : uint8_t {
  v8::internal::kAutoAccessorClassField , v8::internal::kAccessorGetter , v8::internal::kAccessorSetter , v8::internal::kValue ,
  v8::internal::kShorthand , v8::internal::kAssign , v8::internal::kMethod , v8::internal::kClassField ,
  v8::internal::kShorthandOrClassField , v8::internal::kSpread , v8::internal::kNotSet
}
 

Macro Definition Documentation

◆ RETURN_IF_PARSE_ERROR

#define RETURN_IF_PARSE_ERROR    if (has_error()) return impl()->NullStatement();

Definition at line 117 of file parser-base.h.