| 1 | 94 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 2 | 94 | ▶ | use warnings FATAL => 'all'; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 3 | |||||||||||
| 4 | package MarpaX::Java::ClassFile::Struct::_Types; | ||||||||||
| 5 | 94 | ▶ | use Types::Common::Numeric qw/PositiveInt/; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 6 | |||||||||||
| 7 | # ABSTRACT: Type helpers | ||||||||||
| 8 | |||||||||||
| 9 | 94 | our $VERSION = '0.008'; # VERSION | |||||||||
| 10 | |||||||||||
| 11 | 94 | our $AUTHORITY = 'cpan:JDDPAUSE'; # AUTHORITY | |||||||||
| 12 | |||||||||||
| 13 | use Type::Library | ||||||||||
| 14 | 94 | -base, | |||||||||
| 15 | -declare => qw/ | ||||||||||
| 16 | U1 U2 U4 | ||||||||||
| 17 | ClassFile | ||||||||||
| 18 | |||||||||||
| 19 | ConstantClassInfo | ||||||||||
| 20 | ConstantFieldrefInfo | ||||||||||
| 21 | ConstantMethodrefInfo | ||||||||||
| 22 | ConstantInterfaceMethodrefInfo | ||||||||||
| 23 | ConstantStringInfo | ||||||||||
| 24 | ConstantIntegerInfo | ||||||||||
| 25 | ConstantFloatInfo | ||||||||||
| 26 | ConstantLongInfo | ||||||||||
| 27 | ConstantDoubleInfo | ||||||||||
| 28 | ConstantNameAndTypeInfo | ||||||||||
| 29 | ConstantUtf8Info | ||||||||||
| 30 | ConstantMethodHandleInfo | ||||||||||
| 31 | ConstantMethodTypeInfo | ||||||||||
| 32 | ConstantInvokeDynamicInfo | ||||||||||
| 33 | CpInfo | ||||||||||
| 34 | |||||||||||
| 35 | FieldInfo | ||||||||||
| 36 | MethodInfo | ||||||||||
| 37 | |||||||||||
| 38 | AttributeInfo | ||||||||||
| 39 | UnmanagedAttribute | ||||||||||
| 40 | ConstantValueAttribute | ||||||||||
| 41 | CodeAttribute | ||||||||||
| 42 | StackMapTableAttribute | ||||||||||
| 43 | ExceptionsAttribute | ||||||||||
| 44 | InnerClassesAttribute | ||||||||||
| 45 | EnclosingMethodAttribute | ||||||||||
| 46 | SyntheticAttribute | ||||||||||
| 47 | SignatureAttribute | ||||||||||
| 48 | SourceFileAttribute | ||||||||||
| 49 | SourceDebugExtensionAttribute | ||||||||||
| 50 | LineNumberTableAttribute | ||||||||||
| 51 | LocalVariableTableAttribute | ||||||||||
| 52 | LocalVariableTypeTableAttribute | ||||||||||
| 53 | DeprecatedAttribute | ||||||||||
| 54 | RuntimeVisibleAnnotationsAttribute | ||||||||||
| 55 | RuntimeInvisibleAnnotationsAttribute | ||||||||||
| 56 | RuntimeVisibleParameterAnnotationsAttribute | ||||||||||
| 57 | RuntimeInvisibleParameterAnnotationsAttribute | ||||||||||
| 58 | RuntimeVisibleTypeAnnotationsAttribute | ||||||||||
| 59 | RuntimeInvisibleTypeAnnotationsAttribute | ||||||||||
| 60 | AnnotationDefaultAttribute | ||||||||||
| 61 | BootstrapMethodsAttribute | ||||||||||
| 62 | MethodParametersAttribute | ||||||||||
| 63 | |||||||||||
| 64 | ExceptionTable | ||||||||||
| 65 | |||||||||||
| 66 | SameFrame | ||||||||||
| 67 | SameLocals1StackItemFrame | ||||||||||
| 68 | SameLocals1StackItemFrameExtended | ||||||||||
| 69 | ChopFrame | ||||||||||
| 70 | SameFrameExtended | ||||||||||
| 71 | AppendFrame | ||||||||||
| 72 | FullFrame | ||||||||||
| 73 | StackMapFrame | ||||||||||
| 74 | |||||||||||
| 75 | TopVariableInfo | ||||||||||
| 76 | IntegerVariableInfo | ||||||||||
| 77 | FloatVariableInfo | ||||||||||
| 78 | NullVariableInfo | ||||||||||
| 79 | UninitializedThisVariableInfo | ||||||||||
| 80 | ObjectVariableInfo | ||||||||||
| 81 | UninitializedVariableInfo | ||||||||||
| 82 | LongVariableInfo | ||||||||||
| 83 | DoubleVariableInfo | ||||||||||
| 84 | VerificationTypeInfo | ||||||||||
| 85 | |||||||||||
| 86 | LineNumber | ||||||||||
| 87 | LocalVariable | ||||||||||
| 88 | LocalVariableType | ||||||||||
| 89 | Annotation | ||||||||||
| 90 | |||||||||||
| 91 | ConstValueIndex | ||||||||||
| 92 | EnumConstValue | ||||||||||
| 93 | ClassInfoIndex | ||||||||||
| 94 | ArrayValue | ||||||||||
| 95 | ElementValuePair | ||||||||||
| 96 | ElementValue | ||||||||||
| 97 | |||||||||||
| 98 | ParameterAnnotation | ||||||||||
| 99 | |||||||||||
| 100 | TypeParameterTarget | ||||||||||
| 101 | SupertypeTarget | ||||||||||
| 102 | TypeParameterBoundTarget | ||||||||||
| 103 | EmptyTarget | ||||||||||
| 104 | FormalParameterTarget | ||||||||||
| 105 | ThrowsTarget | ||||||||||
| 106 | LocalvarTarget | ||||||||||
| 107 | CatchTarget | ||||||||||
| 108 | OffsetTarget | ||||||||||
| 109 | TypeArgumentTarget | ||||||||||
| 110 | TargetInfo | ||||||||||
| 111 | |||||||||||
| 112 | Table | ||||||||||
| 113 | |||||||||||
| 114 | TypeAnnotation | ||||||||||
| 115 | |||||||||||
| 116 | Path | ||||||||||
| 117 | TypePath | ||||||||||
| 118 | |||||||||||
| 119 | BootstrapMethod | ||||||||||
| 120 | Parameter | ||||||||||
| 121 | |||||||||||
| 122 | OpCode | ||||||||||
| 123 | 94 | ▶ | /; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 124 | 94 | ▶ | use Type::Utils qw/declare as where inline_as class_type/; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 125 | 94 | ▶ | use Types::Standard qw/Int Undef/; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 126 | |||||||||||
| 127 | 108 | ▶ | declare U1, as Int, where { ($_ >= 0) && ($_ <= 255) }, inline_as { my $varname = $_[1]; "($varname >= 0) && ($varname <= 255)" }; | ||||||||
|
Subroutine
__ANON__: called CC=1 SCAR=0.4
Branch: 1 branch
| |||||||||||
| 128 | 78 | ▶ | declare U2, as Int, where { ($_ >= 0) && ($_ <= 65535) }, inline_as { my $varname = $_[1]; "($varname >= 0) && ($varname <= 65535)" }; | ||||||||
|
Subroutine
__ANON__: called CC=2 SCAR=7.6
Branch: 1 branch
| |||||||||||
| 129 | 76 | ▶ | declare U4, as Int, where { ($_ >= 0) && ($_ <= 4294967295) }, inline_as { my $varname = $_[1]; "($varname >= 0) && ($varname <= 4294967295)" }; | ||||||||
|
Subroutine
__ANON__: called CC=1 SCAR=0.4
Branch: 1 branch
| |||||||||||
| 130 | |||||||||||
| 131 | 94 | class_type ClassFile, { class => 'MarpaX::Java::ClassFile::Struct::ClassFile' }; | |||||||||
| 132 | 94 | class_type ConstantClassInfo, { class => 'MarpaX::Java::ClassFile::Struct::ConstantClassInfo' }; | |||||||||
| 133 | 94 | class_type ConstantFieldrefInfo, { class => 'MarpaX::Java::ClassFile::Struct::ConstantFieldrefInfo' }; | |||||||||
| 134 | 94 | class_type ConstantMethodrefInfo, { class => 'MarpaX::Java::ClassFile::Struct::ConstantMethodrefInfo' }; | |||||||||
| 135 | 94 | class_type ConstantInterfaceMethodrefInfo, { class => 'MarpaX::Java::ClassFile::Struct::ConstantInterfaceMethodrefInfo' }; | |||||||||
| 136 | 94 | class_type ConstantStringInfo, { class => 'MarpaX::Java::ClassFile::Struct::ConstantStringInfo' }; | |||||||||
| 137 | 94 | class_type ConstantIntegerInfo, { class => 'MarpaX::Java::ClassFile::Struct::ConstantIntegerInfo' }; | |||||||||
| 138 | 94 | class_type ConstantFloatInfo, { class => 'MarpaX::Java::ClassFile::Struct::ConstantFloatInfo' }; | |||||||||
| 139 | 94 | class_type ConstantLongInfo, { class => 'MarpaX::Java::ClassFile::Struct::ConstantLongInfo' }; | |||||||||
| 140 | 94 | class_type ConstantDoubleInfo, { class => 'MarpaX::Java::ClassFile::Struct::ConstantDoubleInfo' }; | |||||||||
| 141 | 94 | class_type ConstantNameAndTypeInfo, { class => 'MarpaX::Java::ClassFile::Struct::ConstantNameAndTypeInfo' }; | |||||||||
| 142 | 94 | class_type ConstantUtf8Info, { class => 'MarpaX::Java::ClassFile::Struct::ConstantUtf8Info' }; | |||||||||
| 143 | 94 | class_type ConstantMethodHandleInfo, { class => 'MarpaX::Java::ClassFile::Struct::ConstantMethodHandleInfo' }; | |||||||||
| 144 | 94 | class_type ConstantMethodTypeInfo, { class => 'MarpaX::Java::ClassFile::Struct::ConstantMethodTypeInfo' }; | |||||||||
| 145 | 94 | class_type ConstantInvokeDynamicInfo, { class => 'MarpaX::Java::ClassFile::Struct::ConstantInvokeDynamicInfo' }; | |||||||||
| 146 | 94 | declare CpInfo, as | |||||||||
| 147 | ConstantClassInfo | | ||||||||||
| 148 | ConstantFieldrefInfo | | ||||||||||
| 149 | ConstantMethodrefInfo | | ||||||||||
| 150 | ConstantInterfaceMethodrefInfo| | ||||||||||
| 151 | ConstantStringInfo | | ||||||||||
| 152 | ConstantIntegerInfo | | ||||||||||
| 153 | ConstantFloatInfo | | ||||||||||
| 154 | ConstantLongInfo | | ||||||||||
| 155 | ConstantDoubleInfo | | ||||||||||
| 156 | ConstantNameAndTypeInfo | | ||||||||||
| 157 | ConstantUtf8Info | | ||||||||||
| 158 | ConstantMethodHandleInfo | | ||||||||||
| 159 | ConstantMethodTypeInfo | | ||||||||||
| 160 | ConstantInvokeDynamicInfo | | ||||||||||
| 161 | Undef # Because an index in constant_pool can be valid but unusable | ||||||||||
| 162 | ; | ||||||||||
| 163 | |||||||||||
| 164 | 94 | class_type FieldInfo, { class => 'MarpaX::Java::ClassFile::Struct::FieldInfo' }; | |||||||||
| 165 | 94 | class_type MethodInfo, { class => 'MarpaX::Java::ClassFile::Struct::MethodInfo' }; | |||||||||
| 166 | |||||||||||
| 167 | 94 | class_type UnmanagedAttribute, { class => 'MarpaX::Java::ClassFile::Struct::UnmanagedAttribute' }; | |||||||||
| 168 | 94 | class_type ConstantValueAttribute, { class => 'MarpaX::Java::ClassFile::Struct::ConstantValueAttribute' }; | |||||||||
| 169 | 94 | class_type CodeAttribute, { class => 'MarpaX::Java::ClassFile::Struct::CodeAttribute' }; | |||||||||
| 170 | 94 | class_type StackMapTableAttribute, { class => 'MarpaX::Java::ClassFile::Struct::StackMapTableAttribute' }; | |||||||||
| 171 | 94 | class_type ExceptionsAttribute, { class => 'MarpaX::Java::ClassFile::Struct::ExceptionsAttribute' }; | |||||||||
| 172 | 94 | class_type InnerClassesAttribute, { class => 'MarpaX::Java::ClassFile::Struct::InnerClassesAttribute' }; | |||||||||
| 173 | 94 | class_type EnclosingMethodAttribute, { class => 'MarpaX::Java::ClassFile::Struct::EnclosingMethodAttribute' }; | |||||||||
| 174 | 94 | class_type SyntheticAttribute, { class => 'MarpaX::Java::ClassFile::Struct::SyntheticAttribute' }; | |||||||||
| 175 | 94 | class_type SignatureAttribute, { class => 'MarpaX::Java::ClassFile::Struct::SignatureAttribute' }; | |||||||||
| 176 | 94 | class_type SourceFileAttribute, { class => 'MarpaX::Java::ClassFile::Struct::SourceFileAttribute' }; | |||||||||
| 177 | 94 | class_type SourceDebugExtensionAttribute, { class => 'MarpaX::Java::ClassFile::Struct::SourceDebugExtensionAttribute' }; | |||||||||
| 178 | 94 | class_type LineNumberTableAttribute, { class => 'MarpaX::Java::ClassFile::Struct::LineNumberTableAttribute' }; | |||||||||
| 179 | 94 | class_type LocalVariableTableAttribute, { class => 'MarpaX::Java::ClassFile::Struct::LocalVariableTableAttribute' }; | |||||||||
| 180 | 94 | class_type LocalVariableTypeTableAttribute, { class => 'MarpaX::Java::ClassFile::Struct::LocalVariableTypeTableAttribute' }; | |||||||||
| 181 | 94 | class_type DeprecatedAttribute, { class => 'MarpaX::Java::ClassFile::Struct::DeprecatedAttribute' }; | |||||||||
| 182 | 94 | class_type RuntimeVisibleAnnotationsAttribute, { class => 'MarpaX::Java::ClassFile::Struct::RuntimeVisibleAnnotationsAttribute' }; | |||||||||
| 183 | 94 | class_type RuntimeInvisibleAnnotationsAttribute, { class => 'MarpaX::Java::ClassFile::Struct::RuntimeInvisibleAnnotationsAttribute' }; | |||||||||
| 184 | 94 | class_type RuntimeVisibleParameterAnnotationsAttribute, { class => 'MarpaX::Java::ClassFile::Struct::RuntimeVisibleParameterAnnotationsAttribute' }; | |||||||||
| 185 | 94 | class_type RuntimeInvisibleParameterAnnotationsAttribute, { class => 'MarpaX::Java::ClassFile::Struct::RuntimeInvisibleParameterAnnotationsAttribute' }; | |||||||||
| 186 | 94 | class_type RuntimeVisibleTypeAnnotationsAttribute, { class => 'MarpaX::Java::ClassFile::Struct::RuntimeVisibleTypeAnnotationsAttribute' }; | |||||||||
| 187 | 94 | class_type RuntimeInvisibleTypeAnnotationsAttribute, { class => 'MarpaX::Java::ClassFile::Struct::RuntimeInvisibleTypeAnnotationsAttribute' }; | |||||||||
| 188 | 94 | class_type AnnotationDefaultAttribute, { class => 'MarpaX::Java::ClassFile::Struct::AnnotationDefaultAttribute' }; | |||||||||
| 189 | 94 | class_type BootstrapMethodsAttribute, { class => 'MarpaX::Java::ClassFile::Struct::BootstrapMethodsAttribute' }; | |||||||||
| 190 | 94 | class_type MethodParametersAttribute, { class => 'MarpaX::Java::ClassFile::Struct::MethodParametersAttribute' }; | |||||||||
| 191 | 94 | declare AttributeInfo, as | |||||||||
| 192 | UnmanagedAttribute | | ||||||||||
| 193 | ConstantValueAttribute | | ||||||||||
| 194 | CodeAttribute | | ||||||||||
| 195 | StackMapTableAttribute | | ||||||||||
| 196 | ExceptionsAttribute | | ||||||||||
| 197 | InnerClassesAttribute | | ||||||||||
| 198 | EnclosingMethodAttribute | | ||||||||||
| 199 | SyntheticAttribute | | ||||||||||
| 200 | SignatureAttribute | | ||||||||||
| 201 | SourceFileAttribute | | ||||||||||
| 202 | SourceDebugExtensionAttribute | | ||||||||||
| 203 | LineNumberTableAttribute | | ||||||||||
| 204 | LocalVariableTableAttribute | | ||||||||||
| 205 | LocalVariableTypeTableAttribute | | ||||||||||
| 206 | DeprecatedAttribute | | ||||||||||
| 207 | RuntimeVisibleAnnotationsAttribute | | ||||||||||
| 208 | RuntimeInvisibleAnnotationsAttribute | | ||||||||||
| 209 | RuntimeVisibleParameterAnnotationsAttribute | | ||||||||||
| 210 | RuntimeInvisibleParameterAnnotationsAttribute| | ||||||||||
| 211 | RuntimeVisibleTypeAnnotationsAttribute | | ||||||||||
| 212 | RuntimeInvisibleTypeAnnotationsAttribute | | ||||||||||
| 213 | AnnotationDefaultAttribute | | ||||||||||
| 214 | BootstrapMethodsAttribute | | ||||||||||
| 215 | MethodParametersAttribute | ||||||||||
| 216 | ; | ||||||||||
| 217 | |||||||||||
| 218 | |||||||||||
| 219 | 94 | class_type ExceptionTable, { class => 'MarpaX::Java::ClassFile::Struct::ExceptionTable' }; | |||||||||
| 220 | |||||||||||
| 221 | 94 | class_type SameFrame, { class => 'MarpaX::Java::ClassFile::Struct::SameFrame' }; | |||||||||
| 222 | 94 | class_type SameLocals1StackItemFrame, { class => 'MarpaX::Java::ClassFile::Struct::SameLocals1StackItemFrame' }; | |||||||||
| 223 | 94 | class_type SameLocals1StackItemFrameExtended, { class => 'MarpaX::Java::ClassFile::Struct::SameLocals1StackItemFrameExtended' }; | |||||||||
| 224 | 94 | class_type ChopFrame, { class => 'MarpaX::Java::ClassFile::Struct::ChopFrame' }; | |||||||||
| 225 | 94 | class_type SameFrameExtended, { class => 'MarpaX::Java::ClassFile::Struct::SameFrameExtended' }; | |||||||||
| 226 | 94 | class_type AppendFrame, { class => 'MarpaX::Java::ClassFile::Struct::AppendFrame' }; | |||||||||
| 227 | 94 | class_type FullFrame, { class => 'MarpaX::Java::ClassFile::Struct::FullFrame' }; | |||||||||
| 228 | 94 | declare StackMapFrame, as | |||||||||
| 229 | SameFrame | | ||||||||||
| 230 | SameLocals1StackItemFrame | | ||||||||||
| 231 | SameLocals1StackItemFrameExtended| | ||||||||||
| 232 | ChopFrame | | ||||||||||
| 233 | SameFrameExtended | | ||||||||||
| 234 | AppendFrame | | ||||||||||
| 235 | FullFrame | ||||||||||
| 236 | ; | ||||||||||
| 237 | |||||||||||
| 238 | 94 | class_type TopVariableInfo, { class => 'MarpaX::Java::ClassFile::Struct::TopVariableInfo' }; | |||||||||
| 239 | 94 | class_type IntegerVariableInfo, { class => 'MarpaX::Java::ClassFile::Struct::IntegerVariableInfo' }; | |||||||||
| 240 | 94 | class_type FloatVariableInfo, { class => 'MarpaX::Java::ClassFile::Struct::FloatVariableInfo' }; | |||||||||
| 241 | 94 | class_type NullVariableInfo, { class => 'MarpaX::Java::ClassFile::Struct::NullVariableInfo' }; | |||||||||
| 242 | 94 | class_type UninitializedThisVariableInfo, { class => 'MarpaX::Java::ClassFile::Struct::UninitializedThisVariableInfo' }; | |||||||||
| 243 | 94 | class_type ObjectVariableInfo, { class => 'MarpaX::Java::ClassFile::Struct::ObjectVariableInfo' }; | |||||||||
| 244 | 94 | class_type UninitializedVariableInfo, { class => 'MarpaX::Java::ClassFile::Struct::UninitializedVariableInfo' }; | |||||||||
| 245 | 94 | class_type LongVariableInfo, { class => 'MarpaX::Java::ClassFile::Struct::LongVariableInfo' }; | |||||||||
| 246 | 94 | class_type DoubleVariableInfo, { class => 'MarpaX::Java::ClassFile::Struct::DoubleVariableInfo' }; | |||||||||
| 247 | 94 | declare VerificationTypeInfo, as | |||||||||
| 248 | TopVariableInfo | | ||||||||||
| 249 | IntegerVariableInfo | | ||||||||||
| 250 | FloatVariableInfo | | ||||||||||
| 251 | NullVariableInfo | | ||||||||||
| 252 | UninitializedThisVariableInfo| | ||||||||||
| 253 | ObjectVariableInfo | | ||||||||||
| 254 | UninitializedVariableInfo | | ||||||||||
| 255 | LongVariableInfo | | ||||||||||
| 256 | DoubleVariableInfo | ||||||||||
| 257 | ; | ||||||||||
| 258 | |||||||||||
| 259 | |||||||||||
| 260 | # Class is a reserved word | ||||||||||
| 261 | # class_type Class, { class => 'MarpaX::Java::ClassFile::Struct::Class' }; | ||||||||||
| 262 | 94 | class_type LineNumber, { class => 'MarpaX::Java::ClassFile::Struct::LineNumber' }; | |||||||||
| 263 | 94 | class_type LocalVariable, { class => 'MarpaX::Java::ClassFile::Struct::LocalVariable' }; | |||||||||
| 264 | 94 | class_type LocalVariableType, { class => 'MarpaX::Java::ClassFile::Struct::LocalVariableType' }; | |||||||||
| 265 | 94 | class_type Annotation, { class => 'MarpaX::Java::ClassFile::Struct::Annotation' }; | |||||||||
| 266 | |||||||||||
| 267 | 94 | class_type ConstValueIndex, { class => 'MarpaX::Java::ClassFile::Struct::ConstValueIndex' }; | |||||||||
| 268 | 94 | class_type EnumConstValue, { class => 'MarpaX::Java::ClassFile::Struct::EnumConstValue' }; | |||||||||
| 269 | 94 | class_type ClassInfoIndex, { class => 'MarpaX::Java::ClassFile::Struct::ClassInfoIndex' }; | |||||||||
| 270 | 94 | class_type ArrayValue, { class => 'MarpaX::Java::ClassFile::Struct::ArrayValue' }; | |||||||||
| 271 | 94 | class_type ElementValuePair, { class => 'MarpaX::Java::ClassFile::Struct::ElementValuePair' }; | |||||||||
| 272 | 94 | class_type ElementValue, { class => 'MarpaX::Java::ClassFile::Struct::ElementValue' }; | |||||||||
| 273 | |||||||||||
| 274 | 94 | class_type ParameterAnnotation, { class => 'MarpaX::Java::ClassFile::Struct::ParameterAnnotation' }; | |||||||||
| 275 | |||||||||||
| 276 | 94 | class_type TypeParameterTarget, { class => 'MarpaX::Java::ClassFile::Struct::TypeParameterTarget' }; | |||||||||
| 277 | 94 | class_type SupertypeTarget, { class => 'MarpaX::Java::ClassFile::Struct::SupertypeTarget' }; | |||||||||
| 278 | 94 | class_type TypeParameterBoundTarget, { class => 'MarpaX::Java::ClassFile::Struct::TypeParameterBoundTarget' }; | |||||||||
| 279 | 94 | class_type EmptyTarget, { class => 'MarpaX::Java::ClassFile::Struct::EmptyTarget' }; | |||||||||
| 280 | 94 | class_type FormalParameterTarget, { class => 'MarpaX::Java::ClassFile::Struct::FormalParameterTarget' }; | |||||||||
| 281 | 94 | class_type ThrowsTarget, { class => 'MarpaX::Java::ClassFile::Struct::ThrowsTarget' }; | |||||||||
| 282 | 94 | class_type LocalvarTarget, { class => 'MarpaX::Java::ClassFile::Struct::LocalvarTarget' }; | |||||||||
| 283 | 94 | class_type CatchTarget, { class => 'MarpaX::Java::ClassFile::Struct::CatchTarget' }; | |||||||||
| 284 | 94 | class_type OffsetTarget, { class => 'MarpaX::Java::ClassFile::Struct::OffsetTarget' }; | |||||||||
| 285 | 94 | class_type TypeArgumentTarget, { class => 'MarpaX::Java::ClassFile::Struct::TypeArgumentTarget' }; | |||||||||
| 286 | 94 | declare TargetInfo, as | |||||||||
| 287 | TypeParameterTarget | | ||||||||||
| 288 | SupertypeTarget | | ||||||||||
| 289 | TypeParameterBoundTarget| | ||||||||||
| 290 | EmptyTarget | | ||||||||||
| 291 | FormalParameterTarget | | ||||||||||
| 292 | ThrowsTarget | | ||||||||||
| 293 | LocalvarTarget | | ||||||||||
| 294 | CatchTarget | | ||||||||||
| 295 | OffsetTarget | | ||||||||||
| 296 | TypeArgumentTarget | ||||||||||
| 297 | ; | ||||||||||
| 298 | |||||||||||
| 299 | 94 | class_type Table, { class => 'MarpaX::Java::ClassFile::Struct::Table' }; | |||||||||
| 300 | |||||||||||
| 301 | 94 | class_type TypeAnnotation, { class => 'MarpaX::Java::ClassFile::Struct::TypeAnnotation' }; | |||||||||
| 302 | |||||||||||
| 303 | 94 | class_type Path, { class => 'MarpaX::Java::ClassFile::Struct::Path' }; | |||||||||
| 304 | 94 | class_type TypePath, { class => 'MarpaX::Java::ClassFile::Struct::TypePath' }; | |||||||||
| 305 | |||||||||||
| 306 | 94 | class_type BootstrapMethod, { class => 'MarpaX::Java::ClassFile::Struct::BootstrapMethod' }; | |||||||||
| 307 | 94 | class_type Parameter, { class => 'MarpaX::Java::ClassFile::Struct::Parameter' }; | |||||||||
| 308 | |||||||||||
| 309 | 94 | class_type OpCode, { class => 'MarpaX::Java::ClassFile::Struct::OpCode' }; | |||||||||
| 310 | |||||||||||
| 311 | 94 | 1; | |||||||||
| 312 | |||||||||||
| 313 | __END__ | ||||||||||
| 314 | |||||||||||
| 315 | =pod | ||||||||||
| 316 | |||||||||||
| 317 | =encoding UTF-8 | ||||||||||
| 318 | |||||||||||
| 319 | =head1 NAME | ||||||||||
| 320 | |||||||||||
| 321 | MarpaX::Java::ClassFile::Struct::_Types - Type helpers | ||||||||||
| 322 | |||||||||||
| 323 | =head1 VERSION | ||||||||||
| 324 | |||||||||||
| 325 | version 0.008 | ||||||||||
| 326 | |||||||||||
| 327 | =head1 AUTHOR | ||||||||||
| 328 | |||||||||||
| 329 | Jean-Damien Durand <jeandamiendurand@free.fr> | ||||||||||
| 330 | |||||||||||
| 331 | =head1 COPYRIGHT AND LICENSE | ||||||||||
| 332 | |||||||||||
| 333 | This software is copyright (c) 2016 by Jean-Damien Durand. | ||||||||||
| 334 | |||||||||||
| 335 | This is free software; you can redistribute it and/or modify it under | ||||||||||
| 336 | the same terms as the Perl 5 programming language system itself. | ||||||||||
| 337 | |||||||||||
| 338 | =cut | ||||||||||