Changeset View
Changeset View
Standalone View
Standalone View
duchain/declarations/variabledeclaration.cpp
Show First 20 Lines • Show All 72 Lines • ▼ Show 20 Line(s) | |||||
73 | } | 73 | } | ||
74 | 74 | | |||
75 | void VariableDeclaration::setSuperglobal(bool superglobal) | 75 | void VariableDeclaration::setSuperglobal(bool superglobal) | ||
76 | { | 76 | { | ||
77 | DUCHAIN_D_DYNAMIC(VariableDeclaration); | 77 | DUCHAIN_D_DYNAMIC(VariableDeclaration); | ||
78 | d->m_isSuperglobal = superglobal; | 78 | d->m_isSuperglobal = superglobal; | ||
79 | } | 79 | } | ||
80 | 80 | | |||
81 | bool VariableDeclaration::isVariadic() const | ||||
82 | { | ||||
83 | DUCHAIN_D(VariableDeclaration); | ||||
84 | return d->m_isVariadic; | ||||
85 | } | ||||
86 | | ||||
87 | void VariableDeclaration::setVariadic(bool variadic) | ||||
88 | { | ||||
89 | DUCHAIN_D_DYNAMIC(VariableDeclaration); | ||||
90 | d->m_isVariadic = variadic; | ||||
91 | } | ||||
92 | | ||||
81 | } | 93 | } |