Uses of Interface
com._1c.g5.v8.dt.bsl.model.PragmaTarget
-
Packages that use PragmaTarget Package Description com._1c.g5.v8.dt.bsl.model com._1c.g5.v8.dt.bsl.model.impl com._1c.g5.v8.dt.bsl.model.util com._1c.g5.v8.dt.bsl.scoping com._1c.g5.v8.dt.bsl.util -
-
Uses of PragmaTarget in com._1c.g5.v8.dt.bsl.model
Subinterfaces of PragmaTarget in com._1c.g5.v8.dt.bsl.model Modifier and Type Interface Description interface
DeclareStatement
A representation of the model object 'Declare Statement'.interface
Function
A representation of the model object 'Function'.interface
IfPreprocessorDeclareStatement
A representation of the model object 'If Preprocessor Declare Statement'.interface
Method
A representation of the model object 'Method'.interface
Procedure
A representation of the model object 'Procedure'.interface
RegionPreprocessorDeclareStatement
A representation of the model object 'Region Preprocessor Declare Statement'. -
Uses of PragmaTarget in com._1c.g5.v8.dt.bsl.model.impl
Classes in com._1c.g5.v8.dt.bsl.model.impl that implement PragmaTarget Modifier and Type Class Description class
DeclareStatementImpl
An implementation of the model object 'Declare Statement'.class
FunctionImpl
An implementation of the model object 'Function'.class
IfPreprocessorDeclareStatementImpl
An implementation of the model object 'If Preprocessor Declare Statement'.class
MethodImpl
An implementation of the model object 'Method'.class
PragmaTargetImpl
An implementation of the model object 'Pragma Target'.class
ProcedureImpl
An implementation of the model object 'Procedure'.class
RegionPreprocessorDeclareStatementImpl
An implementation of the model object 'Region Preprocessor Declare Statement'. -
Uses of PragmaTarget in com._1c.g5.v8.dt.bsl.model.util
Methods in com._1c.g5.v8.dt.bsl.model.util with parameters of type PragmaTarget Modifier and Type Method Description T
BslSwitch. casePragmaTarget(PragmaTarget object)
Returns the result of interpreting the object as an instance of 'Pragma Target'.static List<Pragma>
BslUtil. getEffectivePragmas(PragmaTarget pragmaTarget)
Returns effective pragmas forPragmaTarget
instance.
Effective pragmas are computed by following algorithm:
- if many-valued referencepragmas
ofPragmaTarget
instance contains at least one item, value of this reference is returned
- otherwise function attempts to findModule
containingPragmaTarget
.static boolean
BslUtil. hasEffectivePragma(PragmaTarget pragmaTarget, String... symbols)
Function determines if effective pragmas ofPragmaTarget
instance contains at least onePragma
withsymbol
equal (ignoring case) to one ofsymbols
.static boolean
BslUtil. hasPragma(PragmaTarget pragmaTarget, String... symbols)
Function determines ifPragmaTarget
instance contains at least onePragma
withsymbol
equal (ignoring case) to at least one ofsymbols
. -
Uses of PragmaTarget in com._1c.g5.v8.dt.bsl.scoping
Classes in com._1c.g5.v8.dt.bsl.scoping with type parameters of type PragmaTarget Modifier and Type Class Description class
PragmaFilter<T extends PragmaTarget>
Filters Pragma in BSL -
Uses of PragmaTarget in com._1c.g5.v8.dt.bsl.util
Methods in com._1c.g5.v8.dt.bsl.util with parameters of type PragmaTarget Modifier and Type Method Description static Environments
BslUtil. computeEnvironments(Environmental environmental, PragmaTarget pragmaTarget, Defines defines)
ComputesEnvironments
forEnvironmental
element of Bsl grammar
-