A11 (C++ runtime)
Native C++ implementation of the A11 streaming action runtime
Loading...
Searching...
No Matches
a11::flow::DocumentSymbol Struct Reference

One thing a document declares, and the things declared inside it. More...

#include <cpp/a11/flow/navigate.h>

Public Attributes

std::string name
 
SymbolClass kind = SymbolClass::kFlow
 
std::string detail
 What an editor shows beside the name: a port's type, a call's action.
 
std::string port_direction
 Port metadata, populated only when kind is kPort.
 
std::string port_type
 
bool port_stream = false
 
bool port_required = false
 
Range range
 The whole construct, for "select this symbol".
 
Range selection
 Just the name, for "put the caret here".
 
std::vector< DocumentSymbol > children
 

Detailed Description

One thing a document declares, and the things declared inside it.

Member Data Documentation

◆ children

std::vector<DocumentSymbol> a11::flow::DocumentSymbol::children

◆ detail

std::string a11::flow::DocumentSymbol::detail

What an editor shows beside the name: a port's type, a call's action.

◆ kind

SymbolClass a11::flow::DocumentSymbol::kind = SymbolClass::kFlow

◆ name

std::string a11::flow::DocumentSymbol::name

◆ port_direction

std::string a11::flow::DocumentSymbol::port_direction

Port metadata, populated only when kind is kPort.

◆ port_required

bool a11::flow::DocumentSymbol::port_required = false

◆ port_stream

bool a11::flow::DocumentSymbol::port_stream = false

◆ port_type

std::string a11::flow::DocumentSymbol::port_type

◆ range

Range a11::flow::DocumentSymbol::range

The whole construct, for "select this symbol".

◆ selection

Range a11::flow::DocumentSymbol::selection

Just the name, for "put the caret here".


The documentation for this struct was generated from the following file: