@Properties(inherit=hyperscan.class) public class hs_compile_error_t extends Pointer
/(abc)?/) will produce this error unless
the \ref HS_FLAG_ALLOWEMPTY flag is supplied. Note that such
patterns will produce a match for *every* byte when scanned.
- *Embedded anchors not supported*
Hyperscan only supports the use of anchor meta-characters (such as
^ and $) in patterns where they could *only* match
at the start or end of a buffer. A pattern containing an embedded
anchor, such as /abc^def/, can never match, as there is no
way for abc to precede the start of the data stream.
- *Bounded repeat is too large*
The pattern contains a repeated construct with very large finite
bounds.
- *Unsupported component type*
An unsupported PCRE construct was used in the pattern.
- *Unable to generate bytecode*
This error indicates that Hyperscan was unable to compile a pattern
that is syntactically valid. The most common cause is a pattern that is
very long and complex or contains a large repeated subpattern.
- *Unable to allocate memory*
The library was unable to allocate temporary storage used during
compilation time.
- *Allocator returned misaligned memory*
The memory allocator (either malloc() or the allocator set with \ref
hs_set_allocator()) did not correctly return memory suitably aligned
for the largest representable data type on this platform.
- *Internal error*
An unexpected error occurred: if this error is reported, please contact
the Hyperscan team with a description of the situation.Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
hs_compile_error_t()
Default native constructor.
|
hs_compile_error_t(long size)
Native array allocator.
|
hs_compile_error_t(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
expression()
The zero-based number of the expression that caused the error (if this
can be determined).
|
hs_compile_error_t |
expression(int setter) |
BytePointer |
message()
A human-readable error message describing the error.
|
hs_compile_error_t |
message(BytePointer setter) |
hs_compile_error_t |
position(long position) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic hs_compile_error_t()
public hs_compile_error_t(long size)
Pointer.position(long).public hs_compile_error_t(Pointer p)
Pointer.Pointer(Pointer).public hs_compile_error_t position(long position)
@Cast(value="char*") public BytePointer message()
public hs_compile_error_t message(BytePointer setter)
public int expression()
public hs_compile_error_t expression(int setter)
Copyright © 2020. All rights reserved.