struct SourceElement

Defined at line 48 of file ../../tools/fidl/fidlc/src/raw_ast.h

A collection of one or more consecutive |Token|s from a single |SourceFile|.

Each AST node has a SourceElement to keep track of where it came from.

Public Members

Token start_token
Token end_token

Public Methods

void SourceElement (Token start, Token end)

Defined at line 49 of file ../../tools/fidl/fidlc/src/raw_ast.h

void ~SourceElement ()

Defined at line 50 of file ../../tools/fidl/fidlc/src/raw_ast.h

bool has_span ()

Defined at line 52 of file ../../tools/fidl/fidlc/src/raw_ast.h

SourceSpan span ()

Defined at line 57 of file ../../tools/fidl/fidlc/src/raw_ast.h