attributes

package
v0.5.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 29, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LevelTypeAware       = `\JetBrains\PhpStorm\Internal\LanguageLevelTypeAware`
	ElementAvailable     = `\JetBrains\PhpStorm\Internal\PhpStormStubsElementAvailable`
	DeprecatedAnnotation = `\JetBrains\PhpStorm\Deprecated`
)

Variables

This section is empty.

Functions

func Available

func Available(groups []*ir.AttributeGroup, state *meta.ClassParseState) (res bool)

func Deprecated

func Deprecated(groups []*ir.AttributeGroup, state *meta.ClassParseState) (info meta.DeprecationInfo, ok bool)

func Each

func Each(groups []*ir.AttributeGroup, cb func(attr *ir.Attribute) bool)

func Name

func Name(attr *ir.Attribute, state *meta.ClassParseState) string

func NamedArgument

func NamedArgument(attr *ir.Attribute, name string) (ir.Node, bool)

func NamedStringArgument

func NamedStringArgument(attr *ir.Attribute, name string) string

func TypeAware

func TypeAware(groups []*ir.AttributeGroup, state *meta.ClassParseState) (typ types.Map)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL