LTarget Struct

#include <Layers/lloader.h>

Public Members

LStringList path
LString name
size_t line { 0 }

Detailed Description

An individual declaration target identified by name. path represents the parent names in the target's hierarchy.

The target name is the declaration's item name, preceded by the group name and a dot (.) if a group name is present. (See LDeclaration)

Color                 // no path;                    name="Color"
Icon/Color            // path={ "Icon" };            name="Color"
Profile/Icon/Color    // path={ "Profile", "Icon" }; name="Color"

Color.Red             // no path;                    name="Color.Red"

(Icon,Label)/Color    // 2 targets; { {"Icon"}, "Color" }, { {"Label"}, "Color" };
                      // use expand_declaration() to acquire all targets

Member Variable Documentation

LStringList path

Names of the parents in the target's hierarchy

LString name

Name of the declared target

size_t line { 0 }

Line number that the target was declared on

Appearance
Theme
—